Fixed broken CSMA random value

This commit is contained in:
Mark Qvist 2024-02-11 18:30:13 +01:00
parent 6f62a5394b
commit dce3b25d64
1 changed files with 1 additions and 1 deletions

View File

@ -1214,7 +1214,7 @@ void loop() {
}
if (!dcd) {
uint8_t csma_r = (uint8_t)random(20); // updated to increase bitrate: todo check
uint8_t csma_r = (uint8_t)random(256);
if (csma_p >= csma_r) {
flushQueue();
} else {