mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
Api Symbols: replace asserts with checks
merge ofw commit
This commit is contained in:
@@ -71,7 +71,7 @@ bool ducky_get_number(const char* param, uint32_t* val) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void ducky_numlock_on() {
|
||||
void ducky_numlock_on(void) {
|
||||
if((furi_hal_hid_get_led_state() & HID_KB_LED_NUM) == 0) {
|
||||
furi_hal_hid_kb_press(HID_KEYBOARD_LOCK_NUM_LOCK);
|
||||
furi_hal_hid_kb_release(HID_KEYBOARD_LOCK_NUM_LOCK);
|
||||
|
||||
Reference in New Issue
Block a user