mirror of
https://xff.cz/git/pinephone-keyboard
synced 2024-11-15 21:25:00 -05:00
Don't declare variables that are unused in certain firmware configurations
This commit is contained in:
parent
073505f31f
commit
0899765c07
@ -2016,8 +2016,12 @@ void main(void)
|
||||
|
||||
keyscan_idle();
|
||||
|
||||
#if CONFIG_USB_STACK
|
||||
__bit usb_initialized = 0;
|
||||
#endif
|
||||
#if CONFIG_STOCK_FW
|
||||
__bit user_app_checked = 0;
|
||||
#endif
|
||||
uint16_t ticks = 0;
|
||||
while (1) {
|
||||
// execute I2C system/flashing commands, once the I2C
|
||||
|
Loading…
Reference in New Issue
Block a user