Fix sticky PTT button on MD-UV380 by removing double initialization of PTT_SW gpio.

This commit is contained in:
Federico Amedeo Izzo 2021-08-11 20:53:54 +02:00
parent a1ca509eec
commit 07e1f28f79
1 changed files with 0 additions and 2 deletions

View File

@ -42,8 +42,6 @@ void platform_init()
gpio_setMode(RED_LED, OUTPUT);
gpio_setMode(PTT_SW, INPUT_PULL_UP);
gpio_setMode(PTT_SW, INPUT);
gpio_setMode(PTT_EXT, INPUT);
/*