[stock / gruvin9x] FrSky and DSM2 serial mode

[Sky9x] Bootloader mode on REVC
This commit is contained in:
bsongis
2012-12-10 10:30:54 +00:00
parent fb7525e42d
commit 2037f0d8b0
8 changed files with 43 additions and 62 deletions
+1 -5
View File
@@ -69,10 +69,6 @@ inline void init_soft_power()
}
#endif
#if defined(REVC)
bool bootloader_allowed = true;
#endif
uint32_t check_soft_power()
{
#ifdef SIMU
@@ -1267,7 +1263,7 @@ void end_bt_tx_interrupt()
NVIC_DisableIRQ(UART1_IRQn) ;
}
void usb_mode()
void usbBootloader()
{
// This might be replaced by a software reset
// Any interrupts that have been enabled must be disabled here