Adjust EXTRAKEY_ENABLE
ifdefs for send_extra()
(#18249)
This commit is contained in:
parent
09d668eb0e
commit
f76b55d5ad
4 changed files with 8 additions and 8 deletions
|
@ -113,8 +113,8 @@ void send_mouse(report_mouse_t *report) {
|
|||
#endif // MOUSEKEY_ENABLE
|
||||
}
|
||||
|
||||
#ifdef EXTRAKEY_ENABLE
|
||||
void send_extra(uint8_t report_id, uint16_t data) {
|
||||
#ifdef EXTRAKEY_ENABLE
|
||||
uint32_t irqflags;
|
||||
|
||||
irqflags = __get_PRIMASK();
|
||||
|
@ -128,8 +128,8 @@ void send_extra(uint8_t report_id, uint16_t data) {
|
|||
|
||||
__DMB();
|
||||
__set_PRIMASK(irqflags);
|
||||
}
|
||||
#endif // EXTRAKEY_ENABLE
|
||||
}
|
||||
|
||||
#ifdef CONSOLE_ENABLE
|
||||
# define CONSOLE_PRINTBUF_SIZE 512
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue