From 45696583bfe8e0989f3bebcde0d244470c57db15 Mon Sep 17 00:00:00 2001 From: Till Harbaum Date: Sat, 31 Aug 2024 15:39:13 +0200 Subject: [PATCH] Reduce led brightness somewhat --- src/rp2040/mcu_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rp2040/mcu_hw.c b/src/rp2040/mcu_hw.c index d030e33..4b39a87 100644 --- a/src/rp2040/mcu_hw.c +++ b/src/rp2040/mcu_hw.c @@ -408,7 +408,7 @@ void vApplicationTickHook( void ) { } #ifdef WS2812_PIN static void led_timer(__attribute__((unused)) TimerHandle_t pxTimer) { static char state = 0; - pio_sm_put_blocking(pio0, 0, state?0xff000000:0x00000000); // GRBX + pio_sm_put_blocking(pio0, 0, state?0x40000000:0x00000000); // GRBX state = !state; } #else