diff options
author | Ryan <fauxpark@gmail.com> | 2020-04-21 08:38:34 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 15:38:34 -0700 |
commit | 99f7fe6bd4ab7bc332fcbe35ef741a4142a73b1f (patch) | |
tree | 53b41f59ccaef201012b619ca49393e4429ee3f5 /tmk_core/protocol/arm_atsam/usb/usb_main.h | |
parent | d0c3a4c8d58c1b8c60426ea2f1572fe1fe3bcd01 (diff) |
Clean up ATSAM ifdefs (#8808)
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/usb_main.h')
-rw-r--r-- | tmk_core/protocol/arm_atsam/usb/usb_main.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/usb_main.h b/tmk_core/protocol/arm_atsam/usb/usb_main.h index 3191b2fc13..d8461c6c9f 100644 --- a/tmk_core/protocol/arm_atsam/usb/usb_main.h +++ b/tmk_core/protocol/arm_atsam/usb/usb_main.h @@ -63,41 +63,39 @@ void main_remotewakeup_enable(void); // Called by UDC when USB Host request to disable remote wakeup void main_remotewakeup_disable(void); -#ifdef KBD extern volatile bool main_b_kbd_enable; bool main_kbd_enable(void); void main_kbd_disable(void); -#endif // KBD -#ifdef NKRO +#ifdef NKRO_ENABLE extern volatile bool main_b_nkro_enable; bool main_nkro_enable(void); void main_nkro_disable(void); -#endif // NKRO +#endif // NKRO_ENABLE -#ifdef EXK +#ifdef EXTRAKEY_ENABLE extern volatile bool main_b_exk_enable; bool main_exk_enable(void); void main_exk_disable(void); -#endif // EXK +#endif // EXTRAKEY_ENABLE -#ifdef CON +#ifdef CONSOLE_ENABLE extern volatile bool main_b_con_enable; bool main_con_enable(void); void main_con_disable(void); -#endif // CON +#endif // CONSOLE_ENABLE -#ifdef MOU +#ifdef MOUSE_ENABLE extern volatile bool main_b_mou_enable; bool main_mou_enable(void); void main_mou_disable(void); -#endif // MOU +#endif // MOUSE_ENABLE -#ifdef RAW +#ifdef RAW_ENABLE extern volatile bool main_b_raw_enable; bool main_raw_enable(void); void main_raw_disable(void); void main_raw_receive(uint8_t *buffer, uint8_t len); -#endif // RAW +#endif // RAW_ENABLE #endif // _MAIN_H_ |