Neutralise BT on X9E, unless DEBUG is defined (#5148)
* Neutralise BT on X9E, unless DEBUG is defined * Adjust to Bertrand comments
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
*/
|
||||
|
||||
enum BluetoothStates {
|
||||
#if defined(PCBX9E) && defined(DEBUG)
|
||||
BLUETOOTH_INIT,
|
||||
BLUETOOTH_WAIT_TTM,
|
||||
BLUETOOTH_WAIT_BAUDRATE_CHANGE,
|
||||
#endif
|
||||
BLUETOOTH_STATE_OFF,
|
||||
BLUETOOTH_STATE_NAME_SENT,
|
||||
BLUETOOTH_STATE_POWER_SENT,
|
||||
@@ -38,6 +43,7 @@ enum BluetoothStates {
|
||||
extern volatile uint8_t bluetoothState;
|
||||
extern char bluetoothFriend[LEN_BLUETOOTH_FRIEND+1];
|
||||
|
||||
char * bluetoothReadline();
|
||||
void bluetoothWriteString(const char * command);
|
||||
void bluetoothForwardTelemetry(uint8_t data);
|
||||
void bluetoothWakeup();
|
||||
|
||||
Reference in New Issue
Block a user