geoffdavis / esphome-mitsubishiheatpump

ESPHome Climate Component for Mitsubishi Heatpumps using direct serial connection
BSD 2-Clause "Simplified" License
583 stars 156 forks source link

Remove log line which breaks compile for Lolin S2 mini fixes #73 #82

Closed mafrosis closed 1 year ago

geoffdavis commented 1 year ago

That check is there for a reason, and I don't recommend removing it, but it should be changed. The proper way to handle this would be to cast the pointers to void* first before doing the comparison, as the assumption was that the pointers would both be hardware serial types.