CMB27 / ModbusRTUMaster

A library to implement the master/client portion of the Modbus RTU protocol on Arduino
MIT License
48 stars 7 forks source link

Made cpp parameter datatypes match the header datatypes #5

Closed frodegill closed 1 year ago

frodegill commented 1 year ago

I got a compile error when trying to compile for ESP32. Headerfile uses uint32_t, while cpp file uses unsigned long.

Compiler typically says: error: no declaration matches 'void ModbusRTUMaster::_calculateTimeouts(long unsigned int, uint8_t)' note: candidate is: 'void ModbusRTUMaster::_calculateTimeouts(uint32_t, uint8_t)'