Skip to content

Commit 436a99f

Browse files
author
Scott Powell
committed
* BLE_WRITE_MIN_INTERVAL upped to 60 millis
1 parent b11f439 commit 436a99f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/helpers/esp32/SerialBLEInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ size_t SerialBLEInterface::writeFrame(const uint8_t src[], size_t len) {
169169
return 0;
170170
}
171171

172-
#define BLE_WRITE_MIN_INTERVAL 20
172+
#define BLE_WRITE_MIN_INTERVAL 60
173173

174174
bool SerialBLEInterface::isWriteBusy() const {
175175
return millis() < _last_write + BLE_WRITE_MIN_INTERVAL; // still too soon to start another write?

src/helpers/nrf52/SerialBLEInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ size_t SerialBLEInterface::writeFrame(const uint8_t src[], size_t len) {
9494
return 0;
9595
}
9696

97-
#define BLE_WRITE_MIN_INTERVAL 20
97+
#define BLE_WRITE_MIN_INTERVAL 60
9898

9999
bool SerialBLEInterface::isWriteBusy() const {
100100
return millis() < _last_write + BLE_WRITE_MIN_INTERVAL; // still too soon to start another write?

0 commit comments

Comments
 (0)