We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcc39aa commit bf6237eCopy full SHA for bf6237e
1 file changed
source/board/microbitv2/microbitv2.c
@@ -203,6 +203,11 @@ static inline uint8_t get_led_gamma(uint8_t brightness) {
203
// Called in main_task() to init before USB and files are configured
204
static void prerun_board_config(void)
205
{
206
+ // HID_LED_DEF is on so the resting state of the orange LED after flashing is on
207
+ // but turn it off here so it's initially off, then stays off when on battery,
208
+ // and comes on only when USB enumerates
209
+ gpio_set_hid_led(GPIO_LED_OFF);
210
+
211
mb_version_t board_version = read_brd_rev_id();
212
set_board_id(board_version);
213
0 commit comments