Don't reset GPIO4 (used for voltage monitoring)
This commit is contained in:
parent
87e59a4448
commit
b993313ac1
@ -188,6 +188,10 @@ bool espressif_board_reset_pin_number(gpio_num_t pin_number) {
|
||||
gpio_config(&cfg);
|
||||
return true;
|
||||
}
|
||||
// Pin 4 is used for voltage monitoring, so don't reset
|
||||
if (pin_number == 4) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user