diff options
| author | Damien George <damien@micropython.org> | 2021-04-29 23:48:58 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-04-30 00:32:12 +1000 |
| commit | 885b246ca91592ba48637a8519dd4fbd576ad38a (patch) | |
| tree | 316bc2ad472815eed10209a449d0f8101aa7c00a /py/mpconfig.h | |
| parent | a72b8443cae183ecd5396d3ae963984f4d2e1cdc (diff) | |
stm32/boardctrl: Show first reset-mode state on LEDs when selecting.
Commit 1e297c88989592258965b69cb740039e26c7636c introduced a bug where the
very first reset-mode state on the LEDs was not shown, because prior to
that commit the first reset-mode state was the same as the initial LED
state (green on, others off) and update_reset_mode() was called after
setting this initial LED state.
This is fixed in this commit by changing the update_reset_mode() loop so
that it displays the current reset mode before doing the delay.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/mpconfig.h')
0 files changed, 0 insertions, 0 deletions
