Skip to content

Commit ff878e0

Browse files
committed
Now with more types
1 parent 5910112 commit ff878e0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

esos/src/esos_f14ui.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,14 @@ inline uint16_t esos_uiF14_getRPGPeriod( void ) {
253253

254254
// UIF14 task to manage user-interface
255255
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;
259259

260260
// 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;
264264

265265
ESOS_TASK_BEGIN();
266266
while(TRUE) {

0 commit comments

Comments
 (0)