diff --git a/globals.cpp b/globals.cpp index 0627b98..a74211e 100644 --- a/globals.cpp +++ b/globals.cpp @@ -21,8 +21,11 @@ bool g_invertPaddleY = false; uint8_t g_luminanceCutoff = 122; // reasonable values are 127 and 128 for 32-bit (SDL); and 122/123 for 16-bit (teensy) depending on whether we're talking about white-on-black or black-on-white +#ifdef TEENSYDUINO +EXTMEM +#endif char debugBuf[255]; #ifdef TEENSYDUINO -char fsbuf[200]; +EXTMEM char fsbuf[200]; #endif diff --git a/globals.h b/globals.h index 6d7572d..3bd0d30 100644 --- a/globals.h +++ b/globals.h @@ -1,6 +1,10 @@ #ifndef __GLOBALS_H #define __GLOBALS_H +#ifdef TEENSYDUINO +#include +#endif + #include #include "filemanager.h"