]> git.droids-corp.org - fpv.git/blobdiff - mainboard/commands_gen.c
use printf_P instead of printf if possible
[fpv.git] / mainboard / commands_gen.c
index 8f962e33bbf09b31aee8a3d25c27805fb9f1d2ca..4e79c52d4da103387e44a30a8987d31924282050 100644 (file)
@@ -90,7 +90,7 @@ static void cmd_bootloader_parsed(void *parsed_result, void *data)
 #ifndef HOST_VERSION
        bootloader();
 #else
-       printf("not implemented\n");
+       printf_P(PSTR("not implemented\n"));
 #endif
 }
 
@@ -361,9 +361,9 @@ static void cmd_stack_space_parsed(void *parsed_result, void *data)
        (void)parsed_result;
        (void)data;
 #ifdef HOST_VERSION
-       printf("not implemented\n");
+       printf_P(PSTR("not implemented\n"));
 #else
-       printf("res stack: %d\r\n", min_stack_space_available());
+       printf_P(PSTR("res stack: %d\r\n"), min_stack_space_available());
 #endif
 }