mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-21 23:31:11 +00:00
Only wait for a keypress if the user is told to press a key.
This commit is contained in:
parent
ccc75404f4
commit
9ee1bae150
@ -42,8 +42,10 @@
|
||||
void
|
||||
error_exit(void)
|
||||
{
|
||||
#if LOG_CONF_ENABLED
|
||||
log_message("Press any key to continue ...", "");
|
||||
ctk_arch_getkey();
|
||||
#endif /* LOG_CONF_ENABLED */
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
@ -42,8 +42,10 @@
|
||||
void
|
||||
error_exit(void)
|
||||
{
|
||||
#if LOG_CONF_ENABLED
|
||||
log_message("Press any key to continue ...", "");
|
||||
ctk_arch_getkey();
|
||||
#endif /* LOG_CONF_ENABLED */
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user