Browse Source

Fix variable size.

Vladimir N. Shilov 3 years ago
parent
commit
c67b1456db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main.c

+ 1 - 1
src/main.c

@@ -333,7 +333,7 @@ static void btnProcess(void) {
 }
 }
 
 
 static void tubeRefresh(void) {
 static void tubeRefresh(void) {
-  static int cnt = 0;
+  static uint8_t cnt = 0;
 
 
   /* We start ourselves every 125 ms to update 8 digits in a second. */
   /* We start ourselves every 125 ms to update 8 digits in a second. */
   if (cnt == 0) {
   if (cnt == 0) {