From cfcc1c486f90a551d53b8f131b5f01c3eb55837f Mon Sep 17 00:00:00 2001 From: Hudson Date: Sun, 19 Jul 2020 20:38:01 -0600 Subject: [PATCH] Init all onboard LEDs for pca10056 Need to init the 2 missing onboard LEDs for pca10056. --- variants/pca10056/variant.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/variants/pca10056/variant.cpp b/variants/pca10056/variant.cpp index bd85e971..1ea45f32 100644 --- a/variants/pca10056/variant.cpp +++ b/variants/pca10056/variant.cpp @@ -39,11 +39,17 @@ const uint32_t g_ADigitalPinMap[] = void initVariant() { - // LED1 & LED2 + // init all 4 onboard LEDs pinMode(PIN_LED1, OUTPUT); ledOff(PIN_LED1); pinMode(PIN_LED2, OUTPUT); - ledOff(PIN_LED2);; + ledOff(PIN_LED2); + + pinMode(PIN_LED3, OUTPUT); + ledOff(PIN_LED3); + + pinMode(PIN_LED4, OUTPUT); + ledOff(PIN_LED4); }