nrf52820_microbit: Set the power red LED off by default.
This is specially important for the bootloader, as we only want the
red LED to be ON in the interface.
The pwm driver turns the red LED ON during startup in the IF.
@@ -33,7 +33,7 @@ void gpio_init(void)
{
#ifdef LED_PWR
gpio_cfg_output(GPIO_REG(LED_PWR), GPIO_IDX(LED_PWR));
- gpio_write(GPIO_REG(LED_PWR), GPIO_IDX(LED_PWR), GPIO_LED_STATE(1));
+ gpio_write(GPIO_REG(LED_PWR), GPIO_IDX(LED_PWR), GPIO_LED_STATE(0));
#endif
#ifdef LED_CONNECTED
gpio_cfg_output(GPIO_REG(LED_CONNECTED), GPIO_IDX(LED_CONNECTED));
