albetaCOM / esp-haier

ESP8266 code to connect to Haier Air Conditioner ((firmware version R_1.0.00/e_2.5.14) with wifi module support
53 stars 9 forks source link

esp32 support #3

Closed pszafer closed 4 years ago

pszafer commented 4 years ago

Hi,

There is error compiling Haier.h for esp32

src/Haier.h:322:41: error: 'uint16' was not declared in this scope

I changed it to uint16_t and it is working.

albetaCOM commented 4 years ago

Ok, perfect, I'll change it so it works with both ESP32 and ESP8266.

Thanks!