Created
April 16, 2019 21:26
-
-
Save sleepdefic1t/b4191bd47ffc483177530f1b8c7904ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(ESP8266) | \ | |
defined(ARDUINO_SAMD_MKRZERO) | \ | |
defined(ARDUINO_SAMD_ZERO) | \ | |
defined(ARDUINO_SAM_DUE) | \ | |
defined(ARDUINO_ARCH_ARC32) | \ | |
defined(__TC27XX__) | \ | |
(defined(TEENSYDUINO) && (TEENSYDUINO < 139)) | |
#undef pgm_read_ptr | |
#define pgm_read_ptr(addr) (*(const void **)(addr)) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment