We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee68c78 commit 864e00cCopy full SHA for 864e00c
src/rp2_common/pico_bootsel_via_double_reset/pico_bootsel_via_double_reset.c
@@ -97,11 +97,11 @@ static inline bool double_tap_flag_is_set(void) {
97
}
98
99
static inline void set_double_tap_flag(void) {
100
- hw_set_bits(&powman_hw->chip_reset, POWMAN_CHIP_RESET_DOUBLE_TAP_BITS);
+ hw_set_bits(&powman_hw->chip_reset, POWMAN_CHIP_RESET_DOUBLE_TAP_BITS | POWMAN_PASSWORD_BITS);
101
102
103
static inline void clear_double_tap_flag(void) {
104
- hw_clear_bits(&powman_hw->chip_reset, POWMAN_CHIP_RESET_DOUBLE_TAP_BITS);
+ hw_clear_bits(&powman_hw->chip_reset, POWMAN_CHIP_RESET_DOUBLE_TAP_BITS | POWMAN_PASSWORD_BITS);
105
106
107
#endif
0 commit comments