[Taranis X9E] Bluetooth

- baudrate configured automatically to 115200bauds (factory
reset=9600bauds)
- device name is now "Taranis"
- Telemetry is mirrored
This commit is contained in:
bsongis
2015-07-06 23:55:58 +02:00
parent 7f65075af2
commit a56f75f3d9
9 changed files with 160 additions and 83 deletions
+1 -24
View File
@@ -123,7 +123,6 @@ TCHAR backupFilename[60];
uint32_t Master_frequency;
volatile uint8_t Tenms;
uint8_t EE_timer;
FIL FlashFile;
DIR Dj;
@@ -423,18 +422,12 @@ int main()
lcd_putsLeft(0, BOOTLOADER_TITLE);
lcd_invert_line(0);
lcdRefresh();
#if defined(PCBSKY9X)
OptrexDisplay = 0;
lcdRefresh();
#endif
#if defined(PCBTARANIS)
#if defined(REVPLUS)
turnBacklightOn(0, 0);
#endif
keysInit();
eepromInit();
#endif
i2cInit();
__enable_irq();
init10msTimer();
@@ -444,13 +437,6 @@ int main()
init_spi();
#endif
#if defined(PCBSKY9X)
LockBits = readLockBits();
if (LockBits) {
clearLockBits();
}
#endif
#if defined(PCBTARANIS)
// SD card detect pin
sdInit();
@@ -462,15 +448,6 @@ int main()
wdt_reset();
if (Tenms) {
if (EE_timer) {
if (--EE_timer == 0) {
#if defined(PCBSKY9X)
writeBlock();
#endif
}
}
Tenms = 0;
lcdRefreshWait();