mirror of
https://xff.cz/git/pinephone-keyboard/
synced 2024-11-08 21:45:43 +01:00
firmware: Drop POLL mode from the register definition
Polling mode was supposed to help with broken keyboard matrix, where some keys are stuck, but this is handled well by the pre-existing code already, so there's no need for this.
This commit is contained in:
parent
f7c90f1f74
commit
c3272eb4ef
1 changed files with 1 additions and 2 deletions
|
@ -40,8 +40,7 @@
|
||||||
|
|
||||||
#define REG_SYS_CONFIG 0x20
|
#define REG_SYS_CONFIG 0x20
|
||||||
#define REG_SYS_CONFIG_SCAN_BLOCK BIT(0)
|
#define REG_SYS_CONFIG_SCAN_BLOCK BIT(0)
|
||||||
#define REG_SYS_CONFIG_POLL_MODE BIT(1)
|
#define REG_SYS_CONFIG_USB_DEBUG_EN BIT(1)
|
||||||
#define REG_SYS_CONFIG_USB_DEBUG_EN BIT(2)
|
|
||||||
|
|
||||||
#define REG_SYS_COMMAND 0x21
|
#define REG_SYS_COMMAND 0x21
|
||||||
#define REG_SYS_COMMAND_MCU_RESET 'r'
|
#define REG_SYS_COMMAND_MCU_RESET 'r'
|
||||||
|
|
Loading…
Reference in a new issue