diff options
Diffstat (limited to 'keyboard/atomic/atomic.c')
| -rw-r--r-- | keyboard/atomic/atomic.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboard/atomic/atomic.c b/keyboard/atomic/atomic.c index b4b261457..fa218a48f 100644 --- a/keyboard/atomic/atomic.c +++ b/keyboard/atomic/atomic.c | |||
| @@ -11,8 +11,9 @@ void matrix_scan_user(void) { | |||
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | __attribute__ ((weak)) | 13 | __attribute__ ((weak)) |
| 14 | void process_action_user(keyrecord_t *record) { | 14 | bool process_action_user(keyrecord_t *record) { |
| 15 | // leave this function blank - it can be defined in a keymap file | 15 | // leave this function blank - it can be defined in a keymap file |
| 16 | return true; | ||
| 16 | } | 17 | } |
| 17 | 18 | ||
| 18 | __attribute__ ((weak)) | 19 | __attribute__ ((weak)) |
| @@ -45,11 +46,11 @@ void matrix_scan_kb(void) { | |||
| 45 | matrix_scan_user(); | 46 | matrix_scan_user(); |
| 46 | } | 47 | } |
| 47 | 48 | ||
| 48 | void process_action_kb(keyrecord_t *record) { | 49 | bool process_action_kb(keyrecord_t *record) { |
| 49 | // put your per-action keyboard code here | 50 | // put your per-action keyboard code here |
| 50 | // runs for every action, just before processing by the firmware | 51 | // runs for every action, just before processing by the firmware |
| 51 | 52 | ||
| 52 | process_action_user(record); | 53 | return process_action_user(record); |
| 53 | } | 54 | } |
| 54 | 55 | ||
| 55 | void led_set_kb(uint8_t usb_led) { | 56 | void led_set_kb(uint8_t usb_led) { |
