Skip to content

Commit 4a4456e

Browse files
committed
ESP32: Removed taskENTER_CRITICAL and vTaskSuspendAll()
1 parent f9c9942 commit 4a4456e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModbusRTU.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ uint16_t ModbusRTUTemplate::send(uint8_t slaveId, TAddress startreg, cbTransacti
109109

110110
void ModbusRTUTemplate::task() {
111111
#if defined(ESP32)
112-
vTaskDelay(0)
112+
vTaskDelay(0);
113113
#endif
114114
if (_port->available() > _len) {
115115
_len = _port->available();

0 commit comments

Comments
 (0)