Global: returns false when an error is printed

This commit is contained in:
李通洲
2026-06-05 22:18:53 +08:00
parent 135547fd50
commit e24e3b6b29
3 changed files with 12 additions and 9 deletions
+1
View File
@@ -66,6 +66,7 @@ bool ffPrintBluetooth(FFBluetoothOptions* options) {
if (devices.length == 0) {
ffPrintError(FF_BLUETOOTH_MODULE_NAME, 0, &options->moduleArgs, FF_PRINT_TYPE_DEFAULT, "No bluetooth devices found");
return false;
}
uint8_t i = 1;