adb_usb: set_led at startup
This commit is contained in:
parent
62e92645e6
commit
af667a0550
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include "matrix.h"
|
#include "matrix.h"
|
||||||
#include "report.h"
|
#include "report.h"
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
|
#include "led.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -101,6 +102,8 @@ void matrix_init(void)
|
|||||||
// initialize matrix state: all keys off
|
// initialize matrix state: all keys off
|
||||||
for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00;
|
for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00;
|
||||||
|
|
||||||
|
led_set(host_keyboard_leds());
|
||||||
|
|
||||||
debug_enable = true;
|
debug_enable = true;
|
||||||
//debug_matrix = true;
|
//debug_matrix = true;
|
||||||
//debug_keyboard = true;
|
//debug_keyboard = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user