[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
+7 -1
View File
@@ -254,6 +254,7 @@ extern "C" {
// Power driver
void pwrInit(void);
uint32_t pwrCheck(void);
void pwrOn(void);
void pwrOff(void);
#if defined(REV9E)
uint32_t pwrPressed(void);
@@ -262,6 +263,7 @@ uint32_t pwrPressedDuration(void);
#define UNEXPECTED_SHUTDOWN() (g_eeGeneral.unexpectedShutdown)
// Backlight driver
void backlightInit(void);
#if defined(REVPLUS)
void turnBacklightOn(uint8_t level, uint8_t color);
void turnBacklightOff(void);
@@ -331,13 +333,17 @@ void uart3Stop(void);
// BT driver
#define BLUETOOTH_DEFAULT_BAUDRATE 115200
#define BLUETOOTH_FACTORY_BAUDRATE 9600
uint8_t bluetoothReady();
uint8_t bluetoothReady(void);
void bluetoothInit(uint32_t baudrate);
void bluetoothWrite(const void * buffer, int len);
void bluetoothWriteString(const char * str);
int bluetoothRead(void * buffer, int len);
void bluetoothWakeup(void);
// LCD driver
void lcdInit(void);
void lcdOff(void);
// Top LCD driver
#if defined(REV9E)
void topLcdInit(void);