From 164694ff7e4b5a821f2b38b11f64e238d67f5d35 Mon Sep 17 00:00:00 2001 From: "Morgan 'ARR\\!' Allen" Date: Fri, 24 Apr 2020 21:58:08 -0700 Subject: [PATCH] cleanup prompt --- main/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);