1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 21:35:27 +03:00

Bluetooth rewrite to C++

This commit is contained in:
Bertrand Songis 2019-04-25 10:50:06 +02:00
parent d73081425f
commit 3914bf7ff4
6 changed files with 222 additions and 210 deletions

View file

@ -107,7 +107,6 @@ TASK_FUNCTION(mixerTask)
s_pulses_paused = true;
while (1) {
#if defined(PCBX9D) || defined(PCBX7)
// SBUS on Hearbeat PIN (which is a serial RX)
processSbusInput();
@ -118,7 +117,7 @@ TASK_FUNCTION(mixerTask)
#endif
#if defined(BLUETOOTH)
bluetoothWakeup();
bluetooth.wakeup();
#endif
RTOS_WAIT_TICKS(1);