Limit to __ARM_LINUX__

This commit is contained in:
servadmin 2021-11-19 18:58:09 -05:00
parent be5ea9174b
commit dc14b93248
1 changed files with 1 additions and 1 deletions

View File

@ -1377,7 +1377,7 @@ void u8g2_FirstPage(u8g2_t *u8g2);
uint8_t u8g2_NextPage(u8g2_t *u8g2);
// Add ability to set buffer pointer
#if defined(__ARM_LINUX__) || defined(unix) || defined(__unix__) || defined(__unix)
#ifdef __ARM_LINUX__
#define U8G2_USE_DYNAMIC_ALLOC
#endif