mirror of
https://xff.cz/git/pinephone-keyboard/
synced 2024-09-19 17:39:57 +02:00
Don't declare variables that are unused in certain firmware configurations
This commit is contained in:
parent
073505f31f
commit
0899765c07
1 changed files with 4 additions and 0 deletions
|
@ -2016,8 +2016,12 @@ void main(void)
|
||||||
|
|
||||||
keyscan_idle();
|
keyscan_idle();
|
||||||
|
|
||||||
|
#if CONFIG_USB_STACK
|
||||||
__bit usb_initialized = 0;
|
__bit usb_initialized = 0;
|
||||||
|
#endif
|
||||||
|
#if CONFIG_STOCK_FW
|
||||||
__bit user_app_checked = 0;
|
__bit user_app_checked = 0;
|
||||||
|
#endif
|
||||||
uint16_t ticks = 0;
|
uint16_t ticks = 0;
|
||||||
while (1) {
|
while (1) {
|
||||||
// execute I2C system/flashing commands, once the I2C
|
// execute I2C system/flashing commands, once the I2C
|
||||||
|
|
Loading…
Reference in a new issue