diff --git a/radio/src/bmp.cpp b/radio/src/bmp.cpp index eca7ec015..ec30b2f5b 100644 --- a/radio/src/bmp.cpp +++ b/radio/src/bmp.cpp @@ -423,6 +423,7 @@ const char *writeScreenshot() return NULL; } +#if defined(PCBHORUS) #define STB_IMAGE_IMPLEMENTATION #define STBI_ONLY_PNG @@ -471,4 +472,6 @@ const char * imgLoad(uint8_t * bmp, const char * filename, uint16_t width, uint1 // int req_comp -- if non-zero, # of image components requested in result -} \ No newline at end of file +} + +#endif // if defined(PCBHORUS)