Convert key_state_t to a bit field
This commit is contained in:
Submodule lib/agent updated: 15df8d7129...32d9635b34
@@ -10,10 +10,10 @@
|
||||
// Typedefs:
|
||||
|
||||
typedef struct {
|
||||
bool previous;
|
||||
bool current;
|
||||
bool suppressed;
|
||||
uint8_t debounceCounter;
|
||||
bool previous : 1;
|
||||
bool current : 1;
|
||||
bool suppressed : 1;
|
||||
} key_state_t;
|
||||
|
||||
// Variables:
|
||||
|
||||
Reference in New Issue
Block a user