Update: change a macro name from ASSERT to DISPLAY

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2017-05-08 18:49:10 +09:00
parent 0adfac47da
commit e341d1a326
9 changed files with 39 additions and 39 deletions

View File

@@ -96,11 +96,11 @@ struct LUdpConfig{
#define UDPCONF LUdpConfig theNetcon
#define MQTTSNCONF LMqttsnConfig theMqcon
#ifdef CLIENT_MODE
#define ASSERT(...)
#define DISPLAY(...)
#define PROMPT(...)
#define CHECKKEYIN(...)
#define CHECKKEYIN(...) theScreen->checkKeyIn(__VA_ARGS__)
#else
#define ASSERT(...) theScreen->display(__VA_ARGS__)
#define DISPLAY(...) theScreen->display(__VA_ARGS__)
#define PROMPT(...) theScreen->prompt(__VA_ARGS__)
#define CHECKKEYIN(...) theScreen->checkKeyIn(__VA_ARGS__)
#endif