add extern "C" to matrix.cpp
This commit is contained in:
parent
2aa5e44640
commit
fa86b10138
1 changed files with 127 additions and 123 deletions
|
@ -83,6 +83,8 @@ KBDReportParser kbd_parser3;
|
|||
KBDReportParser kbd_parser4;
|
||||
|
||||
|
||||
extern "C"
|
||||
{
|
||||
uint8_t matrix_rows(void) { return MATRIX_ROWS; }
|
||||
uint8_t matrix_cols(void) { return MATRIX_COLS; }
|
||||
bool matrix_has_ghost(void) { return false; }
|
||||
|
@ -232,3 +234,5 @@ void led_set(uint8_t usb_led)
|
|||
kbd3.SetReport(0, 0, 2, 0, 1, &usb_led);
|
||||
kbd4.SetReport(0, 0, 2, 0, 1, &usb_led);
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue