Fix sticky PTT button on MD-UV380 by removing double initialization of PTT_SW gpio.
This commit is contained in:
parent
a1ca509eec
commit
07e1f28f79
|
|
@ -42,8 +42,6 @@ void platform_init()
|
||||||
gpio_setMode(RED_LED, OUTPUT);
|
gpio_setMode(RED_LED, OUTPUT);
|
||||||
|
|
||||||
gpio_setMode(PTT_SW, INPUT_PULL_UP);
|
gpio_setMode(PTT_SW, INPUT_PULL_UP);
|
||||||
|
|
||||||
gpio_setMode(PTT_SW, INPUT);
|
|
||||||
gpio_setMode(PTT_EXT, INPUT);
|
gpio_setMode(PTT_EXT, INPUT);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue