Fix for PTT gpio non going back to logic high when the corresponding button is released
This commit is contained in:
parent
a5120ffddc
commit
07d886a442
|
|
@ -58,7 +58,7 @@ void platform_init()
|
|||
gpio_setMode(CH_SELECTOR_0, INPUT);
|
||||
gpio_setMode(CH_SELECTOR_1, INPUT);
|
||||
|
||||
gpio_setMode(PTT_SW, INPUT);
|
||||
gpio_setMode(PTT_SW, INPUT_PULL_UP);
|
||||
|
||||
gpio_setMode(PWR_SW, OUTPUT);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue