Merge pull request #8 from Pieterv24/feature/secureMatrixTest
Reintroduced matrix tester, but it's disabled by default and requires…
This commit is contained in:
commit
41f26e635c
@ -256,8 +256,9 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
|
||||
}
|
||||
case id_switch_matrix_state: {
|
||||
#ifdef VIAL_ENABLE
|
||||
/* We don't need this wannabe keylogger */
|
||||
goto skip;
|
||||
/* Disable wannabe keylogger unless unlocked */
|
||||
if (!vial_unlocked)
|
||||
goto skip;
|
||||
#endif
|
||||
|
||||
#if ((MATRIX_COLS / 8 + 1) * MATRIX_ROWS <= 28)
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define VIAL_PROTOCOL_VERSION ((uint32_t)0x00000002)
|
||||
#define VIAL_PROTOCOL_VERSION ((uint32_t)0x00000003)
|
||||
|
||||
void vial_handle_cmd(uint8_t *data, uint8_t length);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user