mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-17 01:16:52 +01:00
Update: change a macro name from ASSERT to DISPLAY
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -61,14 +61,14 @@ int run(void)
|
||||
{
|
||||
if ( toupper(c) == 'N' )
|
||||
{
|
||||
ASSERT("\033[0;31m\n**** Sorry ****\033[0;37m\n\n");
|
||||
DISPLAY("\033[0;31m\n**** Sorry ****\033[0;37m\n\n");
|
||||
PROMPT("");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else if ( toupper(c) == 'Y' )
|
||||
{
|
||||
ASSERT("\033[0m\033[0;32mAttempting to Connect the Broker.....\033[0m\033[0;37m\n");
|
||||
DISPLAY("\033[0m\033[0;32mAttempting to Connect the Broker.....\033[0m\033[0;37m\n");
|
||||
PROMPT("");
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user