* BLE_WRITE_MIN_INTERVAL upped to 60 millis
This commit is contained in:
1 parent
61d000e3a6
commit
5de2f0edad
2 files changed
+2
-2
No files matched your search
@@ -169,7 +169,7 @@ size_t SerialBLEInterface::writeFrame(const uint8_t src[], size_t len) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define BLE_WRITE_MIN_INTERVAL 20
|
#define BLE_WRITE_MIN_INTERVAL 60
|
||||||
|
|
||||||
bool SerialBLEInterface::isWriteBusy() const {
|
bool SerialBLEInterface::isWriteBusy() const {
|
||||||
return millis() < _last_write + BLE_WRITE_MIN_INTERVAL; // still too soon to start another write?
|
return millis() < _last_write + BLE_WRITE_MIN_INTERVAL; // still too soon to start another write?
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ size_t SerialBLEInterface::writeFrame(const uint8_t src[], size_t len) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define BLE_WRITE_MIN_INTERVAL 20
|
#define BLE_WRITE_MIN_INTERVAL 60
|
||||||
|
|
||||||
bool SerialBLEInterface::isWriteBusy() const {
|
bool SerialBLEInterface::isWriteBusy() const {
|
||||||
return millis() < _last_write + BLE_WRITE_MIN_INTERVAL; // still too soon to start another write?
|
return millis() < _last_write + BLE_WRITE_MIN_INTERVAL; // still too soon to start another write?
|
||||||
|
|||||||
Reference in new issue
Block a user