From 1a0d8b2d8fb17cf4b2c845c52b22dc932efa080b Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Tue, 21 Feb 2012 19:36:06 +0100 Subject: [PATCH] cmdline: replace printf printf_P --- cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline.c b/cmdline.c index 5eafc1d..36d1f31 100644 --- a/cmdline.c +++ b/cmdline.c @@ -111,7 +111,7 @@ static void write_char(char c) void cmdline_init(void) { rdline_init(&xbeeboard.rdl, write_char, valid_buffer, complete_buffer); - snprintf(xbeeboard.prompt, sizeof(xbeeboard.prompt), "mainboard > "); + snprintf_P(xbeeboard.prompt, sizeof(xbeeboard.prompt), PSTR("mainboard > ")); } -- 2.39.5