fix building for other platforms

This commit is contained in:
Thomas Göttgens
2023-08-07 19:57:47 +02:00
parent 402f8ba524
commit cbc3e605dd
4 changed files with 16 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
#include "kbMatrixBase.h"
#include "configuration.h"
#ifdef INPUTBROKER_MATRIX_TYPE
const byte keys_cols[] = KEYS_COLS;
const byte keys_rows[] = KEYS_ROWS;
@@ -125,3 +127,5 @@ int32_t KbMatrixBase::runOnce()
}
return 50; // Keyscan every 50msec to avoid key bounce
}
#endif // INPUTBROKER_MATRIX_TYPE