From 54b55aaef99fea0af96709c7eb312b1c306e8a7b Mon Sep 17 00:00:00 2001 From: tuxmobil Date: Wed, 22 Apr 2026 22:18:37 +0200 Subject: [PATCH] Ikoka Handheld: Fix LED state polarity LEDs are lit with LED_STATE_ON == 0 as with all Xiao nRF52 boards. This was missing when code used the default PIN_LED + LED_STATE_ON defines, such as the Bluefruit Library. --- variants/ikoka_handheld_nrf/variant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variants/ikoka_handheld_nrf/variant.h b/variants/ikoka_handheld_nrf/variant.h index 8e6a8ed187..fa3c79dfeb 100644 --- a/variants/ikoka_handheld_nrf/variant.h +++ b/variants/ikoka_handheld_nrf/variant.h @@ -35,7 +35,7 @@ extern "C" #define LED_GREEN (13) #define LED_BLUE (12) -#define LED_STATE_ON (1) // State when LED is litted +#define LED_STATE_ON (0) // State when LED is litted // Buttons #define PIN_BUTTON1 (PINS_COUNT)