airy10 / esphome-m5stickC

esphome components for the M5StickC
81 stars 75 forks source link

Use uint8_t for byte data #15

Closed shish closed 2 years ago

shish commented 2 years ago

Looks like for @gonzalop in #14, including esp_sleep.h fixed this issue (on linux/gcc). For me (using osx/clang), even after including esp_sleep.h I still don't have a definition for byte. I'm not sure if the platform / compiler is the problem or if it's something else completely. Either way, it seems the rest of the codebase uses uint8_t, so I think that should probably work fine in all environments?

airy10 commented 2 years ago

That sounds sane