Prevent X9E simu crash when BT is enabled (#5966)
* Better 'non horus BT' XE handling * Cleanup * Adjust BT message for X9E * [Companion][HardwarePanel][X9E] Change BT Mode options to OFF/Enabled, X9E only.
This commit is contained in:
@@ -262,6 +262,7 @@ void bluetoothReceiveTrainer()
|
||||
#if defined(PCBX9E) && !defined(USEHORUSBT)
|
||||
void bluetoothWakeup(void)
|
||||
{
|
||||
#if !defined(SIMU)
|
||||
if (!g_eeGeneral.bluetoothMode) {
|
||||
if (bluetoothState != BLUETOOTH_INIT) {
|
||||
bluetoothDone();
|
||||
@@ -317,6 +318,7 @@ void bluetoothWakeup(void)
|
||||
bluetoothSendTrainer();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#else // PCBX9E
|
||||
void bluetoothWakeup()
|
||||
|
||||
Reference in New Issue
Block a user