From 721ee9dc09e88af412790604fa1359e6dc49f716 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sun, 1 Oct 2023 06:14:41 +0100 Subject: [PATCH] Better SK6805 logging --nobuild --- lib/drivers/SK6805.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/drivers/SK6805.c b/lib/drivers/SK6805.c index 6ba4fca8f..824c21009 100644 --- a/lib/drivers/SK6805.c +++ b/lib/drivers/SK6805.c @@ -49,15 +49,16 @@ uint8_t SK6805_get_led_count() { return (const uint8_t)SK6805_LED_COUNT; } void SK6805_set_led_color(uint8_t led_index, uint8_t r, uint8_t g, uint8_t b) { + FURI_LOG_T(TAG, "led: %d, r: %d, g: %d, b: %d", led_index, r, g, b); furi_check(led_index < SK6805_LED_COUNT); led_buffer[led_index][0] = g; led_buffer[led_index][1] = r; led_buffer[led_index][2] = b; - FURI_LOG_T(TAG, "led: %d, r: %d, g: %d, b: %d", led_index, r, g, b); } void SK6805_update() { + FURI_LOG_T(TAG, "update"); SK6805_init(); furi_kernel_lock(); uint32_t end;