summaryrefslogtreecommitdiff
path: root/obdlogger/MultiLCD.h
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-08-16 00:57:43 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2013-08-16 00:57:43 +0800
commit6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3 (patch)
tree945437f3e635019e69d4de2d0384dc2945346c2c /obdlogger/MultiLCD.h
parentfccdb6d83fe265bc99c94afbf9fd3a284647595b (diff)
download2021-arduino-obd-6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3.tar.gz
2021-arduino-obd-6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3.tar.bz2
2021-arduino-obd-6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3.zip
compiled code can now fit into 32KB
Diffstat (limited to 'obdlogger/MultiLCD.h')
-rw-r--r--obdlogger/MultiLCD.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/obdlogger/MultiLCD.h b/obdlogger/MultiLCD.h
index f7b703b..1206414 100644
--- a/obdlogger/MultiLCD.h
+++ b/obdlogger/MultiLCD.h
@@ -5,6 +5,10 @@
* All rights reserved.
*************************************************************************/
+#if !defined(__AVR_ATmega2560__) && !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega644P__)
+#define MEMORY_SAVING
+#endif
+
typedef enum {
FONT_SIZE_SMALL = 0,
FONT_SIZE_MEDIUM,