BT fixes on X-LiteS
This commit is contained in:
@@ -655,13 +655,23 @@ bool isTrainerModeAvailable(int mode)
|
||||
else
|
||||
return true;
|
||||
}
|
||||
#elif defined(PCBXLITES)
|
||||
bool isTrainerModeAvailable(int mode)
|
||||
{
|
||||
if (mode == TRAINER_MODE_MASTER_TRAINER_JACK || mode == TRAINER_MODE_SLAVE)
|
||||
return true;
|
||||
else if (g_eeGeneral.bluetoothMode == BLUETOOTH_TRAINER && (mode == TRAINER_MODE_MASTER_BLUETOOTH || mode == TRAINER_MODE_SLAVE_BLUETOOTH))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
#elif defined(PCBXLITE)
|
||||
bool isTrainerModeAvailable(int mode)
|
||||
{
|
||||
if (g_eeGeneral.bluetoothMode == BLUETOOTH_TRAINER && (mode == TRAINER_MODE_MASTER_BLUETOOTH || mode == TRAINER_MODE_SLAVE_BLUETOOTH))
|
||||
return true;
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user