[Taranis X9E] The radio starts if the PWR button is pressed between 2s

and 5s
This commit is contained in:
bsongis
2015-07-10 00:08:08 +02:00
parent dd3eaf4ec9
commit bfb72bb0a9
6 changed files with 39 additions and 15 deletions
+1 -3
View File
@@ -251,8 +251,7 @@ void lcdRefresh()
}
#endif
/**Init the Backlight GPIO */
static void LCD_BL_Config()
void backlightInit()
{
GPIO_InitTypeDef GPIO_InitStructure;
@@ -362,7 +361,6 @@ void lcdOff()
*/
void lcdInit()
{
LCD_BL_Config();
LCD_Hardware_Init();
if (WAS_RESET_BY_WATCHDOG()|WAS_RESET_BY_SOFTWARE()) return; //no need to reset LCD module