kopia lustrzana https://github.com/sh123/esp32_loraprs
Performance optimizations
rodzic
e40011cd46
commit
a24c99b3ed
|
@ -156,7 +156,7 @@ size_t BLESerial::write(uint8_t c)
|
||||||
uint8_t _c = c;
|
uint8_t _c = c;
|
||||||
pTxCharacteristic->setValue(&_c, 1);
|
pTxCharacteristic->setValue(&_c, 1);
|
||||||
pTxCharacteristic->notify();
|
pTxCharacteristic->notify();
|
||||||
delay(10); // bluetooth stack will go into congestion, if too many packets are sent
|
delay(3); // bluetooth stack will go into congestion, if too many packets are sent
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue