From 6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 16 Aug 2013 00:57:43 +0800 Subject: compiled code can now fit into 32KB --- obdlogger/MultiLCD.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'obdlogger/MultiLCD.h') 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, -- cgit v1.2.3