mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	make crc16 function accessible (#1857)
This commit is contained in:
		| @@ -36,6 +36,8 @@ class Modbus : public uart::UARTDevice, public Component { | ||||
|   std::vector<ModbusDevice *> devices_; | ||||
| }; | ||||
|  | ||||
| uint16_t crc16(const uint8_t *data, uint8_t len); | ||||
|  | ||||
| class ModbusDevice { | ||||
|  public: | ||||
|   void set_parent(Modbus *parent) { parent_ = parent; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user