Even though the current code seems to be working fine, call KeyMatrix_Init() before InitKeyScanner() just to be sure.

This commit is contained in:
László Monda
2017-11-14 02:40:51 +01:00
parent 5c84620704
commit 4c97238999
2 changed files with 2 additions and 3 deletions

View File

@@ -10,7 +10,6 @@
#include "slave_protocol_handler.h"
#include "i2c_watchdog.h"
#include "debug_over_spi.h"
#include "key_scanner.h"
i2c_slave_config_t slaveConfig;
i2c_slave_handle_t slaveHandle;
@@ -83,7 +82,6 @@ void InitLedDriver(void)
void InitPeripherals(void)
{
InitInterruptPriorities();
InitKeyScanner();
InitLedDriver();
InitTestLed();
LedPwm_Init();