mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 19:42:08 +02:00
Decrease time before CAN retransmission
This commit is contained in:
parent
97a73e95dd
commit
f28be55b69
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ int ESP32CAN::CANWriteFrame(const CAN_frame_t* p_frame) {
|
|||
clear_event(EVENT_CAN_TX_FAILURE);
|
||||
}
|
||||
} else {
|
||||
if ((millis() - start_time) >= 2000) {
|
||||
if ((millis() - start_time) >= 20) {
|
||||
tx_ok = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue