File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -253,14 +253,14 @@ inline uint16_t esos_uiF14_getRPGPeriod( void ) {
253
253
254
254
// UIF14 task to manage user-interface
255
255
ESOS_USER_TASK (__esos_uiF14_task ){
256
- static LED1_counter = 0 ;
257
- static LED2_counter = 0 ;
258
- static LED3_counter = 0 ;
256
+ static uint16_t LED1_counter = 0 ;
257
+ static uint16_t LED2_counter = 0 ;
258
+ static uint16_t LED3_counter = 0 ;
259
259
260
260
// init to -1 to disable counters by default
261
- static int SW1_doublepress_counter = -1 ;
262
- static int SW2_doublepress_counter = -1 ;
263
- static int SW3_doublepress_counter = -1 ;
261
+ static uint16_t SW1_doublepress_counter = -1 ;
262
+ static uint16_t SW2_doublepress_counter = -1 ;
263
+ static uint16_t SW3_doublepress_counter = -1 ;
264
264
265
265
ESOS_TASK_BEGIN ();
266
266
while (TRUE) {
You can’t perform that action at this time.
0 commit comments