Added missing driver accessors

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
pull/729/head
Florian Fleissner 5 years ago committed by Jesse Vincent
parent 714e34579e
commit c864e78e94
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -115,6 +115,20 @@ class Base {
return noop_serial_;
}
/**
* Returns the key scanner used by the keyboard.
*/
KeyScanner &keyScanner() {
return key_scanner_;
}
/**
* Returns the LED driver
*/
LEDDriver &ledDriver() {
return led_driver_;
}
/**
* @defgroup kaleidoscope_hardware_leds Kaleidoscope::Hardware/LEDs
* @{

Loading…
Cancel
Save