diff --git a/main/console.c b/main/console.c index 5e06104..3dee021 100644 --- a/main/console.c +++ b/main/console.c @@ -61,7 +61,7 @@ void console_task(void *args) { char *prompt; while(true) { - asprintf(&prompt, LOG_COLOR_I "%s > " LOG_RESET_COLOR, lorcomm_cfg.hostname == NULL ? "lorcomm" : lorcomm_cfg.hostname); + asprintf(&prompt, LOG_COLOR_I "%s > " LOG_RESET_COLOR, lorcomm_cfg.hostname); char* line = linenoise(prompt);