From 3601a0f2ebc066962ecb1222720f1f809798693e Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Wed, 30 Nov 2016 22:30:52 +0100 Subject: [PATCH] Solve num led management --- src/od-pandora/pandora.cpp | 2 +- src/od-pandora/pandora_gui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/od-pandora/pandora.cpp b/src/od-pandora/pandora.cpp index e93076fc..cc007344 100644 --- a/src/od-pandora/pandora.cpp +++ b/src/od-pandora/pandora.cpp @@ -62,7 +62,7 @@ char currentDir[MAX_DPATH]; #ifdef CAPSLOCK_DEBIAN_WORKAROUND #include #include -unsigned long kbd_led_status; +unsigned char kbd_led_status; char kbd_flags; #endif diff --git a/src/od-pandora/pandora_gui.cpp b/src/od-pandora/pandora_gui.cpp index 27911a8b..c733477d 100644 --- a/src/od-pandora/pandora_gui.cpp +++ b/src/od-pandora/pandora_gui.cpp @@ -613,7 +613,7 @@ void gui_led (int led, int on) #ifdef RASPBERRY #define LED_ALL -1 // Define for all LEDs - unsigned long kbd_led_status; + unsigned char kbd_led_status; // Check current prefs/ update if changed if (currprefs.kbd_led_num != changed_prefs.kbd_led_num) currprefs.kbd_led_num = changed_prefs.kbd_led_num;