the BluetoothPhoneAPI runOnce is triggerd by events any way no need to loop

This commit is contained in:
Links2004 2025-09-24 17:06:56 +02:00
parent 2fdc0d0928
commit bb6f19dddf
No known key found for this signature in database
GPG Key ID: 68FB9F01C0C482FC

View File

@ -53,7 +53,8 @@ class BluetoothPhoneAPI : public PhoneAPI, public concurrency::OSThread
hasChecked = true;
}
return 100;
// the run is triggered via NimbleBluetoothToRadioCallback and NimbleBluetoothFromRadioCallback
return INT32_MAX;
}
/**
* Subclasses can use this as a hook to provide custom notifications for their transport (i.e. bluetooth notifies)