Skip to content

Commit 324ccd7

Browse files
committed
Pretty print Bluetooth Off message
1 parent 2087084 commit 324ccd7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Firmware/RTK_Everywhere/menuMain.ino

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,24 @@ void menuMain()
184184
#ifdef COMPILE_BT
185185

186186
if (settings.bluetoothRadioType == BLUETOOTH_RADIO_SPP_AND_BLE)
187+
{
187188
systemPrint("** Bluetooth SPP and BLE broadcasting as: ");
189+
systemPrint(deviceName);
190+
}
188191
else if (settings.bluetoothRadioType == BLUETOOTH_RADIO_SPP)
192+
{
189193
systemPrint("** Bluetooth SPP broadcasting as: ");
194+
systemPrint(deviceName);
195+
}
190196
else if (settings.bluetoothRadioType == BLUETOOTH_RADIO_BLE)
197+
{
191198
systemPrint("** Bluetooth Low-Energy broadcasting as: ");
192-
systemPrint(deviceName);
199+
systemPrint(deviceName);
200+
}
201+
else if (settings.bluetoothRadioType == BLUETOOTH_RADIO_OFF)
202+
{
203+
systemPrint("** Bluetooth Turned Off");
204+
}
193205
systemPrintln(" **");
194206
#else // COMPILE_BT
195207
systemPrintln("** Bluetooth Not Compiled **");

0 commit comments

Comments
 (0)