Bootloader removed from inside opentx application code.

This commit is contained in:
bsongis
2014-05-13 22:31:51 +02:00
parent 0e84a27521
commit 216ecc636a
3 changed files with 4 additions and 47 deletions
+4 -7
View File
@@ -165,12 +165,6 @@ extern uint32_t Current_used;
extern uint16_t sessionTimer;
#endif
#if defined(REVC)
#define BOOTLOADER_REQUEST() (usbPlugged())
#else
#define BOOTLOADER_REQUEST() (pwrCheck() == e_power_usb)
#endif
#define SLAVE_MODE() (pwrCheck() == e_power_trainer)
#define JACK_PPM_OUT() PIOC->PIO_PDR = PIO_PC22
#define JACK_PPM_IN() PIOC->PIO_PER = PIO_PC22
@@ -204,7 +198,6 @@ void disable_ssc();
#define init_dsm2(port) init_main_ppm(5000, 0); init_ssc()
#define disable_dsm2(port) disable_ssc()
// SD driver
#if defined(SIMU)
#define sdInit()
@@ -291,4 +284,8 @@ void rotencEnd();
// Debug driver
void debugPutc(const char c);
// Telemetry driver
void UART2_Configure(uint32_t baudrate, uint32_t masterClock);
void startPdcUsartReceive();
#endif
@@ -224,8 +224,6 @@ void turnBacklightOff(void);
#endif
// USB driver
#define BOOTLOADER_REQUEST() (0)
#define usbBootloader()
int usbPlugged(void);
void usbInit(void);
void usbStart(void);