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?
Looks like for @gonzalop in #14, including
esp_sleep.h
fixed this issue (on linux/gcc). For me (using osx/clang), even after includingesp_sleep.h
I still don't have a definition forbyte
. 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?