mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-01-09 23:22:30 +00:00
h/f: ergodox dynamic macro user hooks wrong signature
This commit is contained in:
@@ -312,15 +312,19 @@ void eeconfig_init_kb(void) { // EEPROM is getting reset!
|
|||||||
static bool is_dynamic_recording = false;
|
static bool is_dynamic_recording = false;
|
||||||
static uint16_t dynamic_loop_timer;
|
static uint16_t dynamic_loop_timer;
|
||||||
|
|
||||||
void dynamic_macro_record_start_user(int8_t direction) {
|
bool dynamic_macro_record_start_user(int8_t direction) {
|
||||||
is_dynamic_recording = true;
|
is_dynamic_recording = true;
|
||||||
dynamic_loop_timer = timer_read();
|
dynamic_loop_timer = timer_read();
|
||||||
ergodox_right_led_1_on();
|
ergodox_right_led_1_on();
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void dynamic_macro_record_end_user(int8_t direction) {
|
bool dynamic_macro_record_end_user(int8_t direction) {
|
||||||
is_dynamic_recording = false;
|
is_dynamic_recording = false;
|
||||||
layer_state_set_user(layer_state);
|
layer_state_set_user(layer_state);
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user