More flash savings when GUI=NO

This commit is contained in:
bsongis
2015-01-22 07:08:22 +01:00
parent d129d6eefd
commit bf0f4cae13
5 changed files with 32 additions and 7 deletions
+5 -1
View File
@@ -649,7 +649,11 @@ void readKeysAndTrims();
uint16_t evalChkSum();
#if defined(VOICE)
#if !defined(GUI)
#define MESSAGE_SOUND_ARG
#define MESSAGE(...)
#define ALERT(...)
#elif defined(VOICE)
#define MESSAGE_SOUND_ARG , uint8_t sound
#define MESSAGE(title, msg, info, sound) message(title, msg, info, sound)
#define ALERT(title, msg, sound) alert(title, msg, sound)