From a599d4601a7c65922a7e8a20d0a169de1536bea7 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 10 Nov 2016 13:31:10 +0100 Subject: [PATCH] Fix led_get_crgb_at The function should return a value. Signed-off-by: Gergely Nagy --- KeyboardConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KeyboardConfig.cpp b/KeyboardConfig.cpp index 4ea21d7c..d228baa1 100644 --- a/KeyboardConfig.cpp +++ b/KeyboardConfig.cpp @@ -7,7 +7,7 @@ void led_set_crgb_at(uint8_t i, cRGB crgb) { KeyboardHardware.led_set_crgb_at(i,crgb); } cRGB led_get_crgb_at(uint8_t i) { - KeyboardHardware.led_get_crgb_at(i); + return KeyboardHardware.led_get_crgb_at(i); } void led_sync(void) { KeyboardHardware.led_sync();