We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e99ae40 commit e9d0f9fCopy full SHA for e9d0f9f
ModbusRtu.h
@@ -696,7 +696,7 @@ int8_t Modbus::poll()
696
u32time = millis();
697
return 0;
698
}
699
- if ((unsigned long)(millis() -u32time) > (unsigned long)T35) return 0;
+ if ((unsigned long)(millis() -u32time) < (unsigned long)T35) return 0;
700
701
// transfer Serial buffer frame to auBuffer
702
u8lastRec = 0;
@@ -778,7 +778,7 @@ int8_t Modbus::poll( uint16_t *regs, uint8_t u8size )
778
779
780
781
782
783
784
int8_t i8state = getRxBuffer();
0 commit comments