// Re-prompt
if(buff_index == 0) {
- rpp_sci_printf("%s", newline);
- rpp_sci_printf("%s", prompt);
+ rpp_sci_printf((const char*)"%s", newline);
+ rpp_sci_printf((const char*)"%s", prompt);
// Help command
} else if(strncmp(in_buffer, "help", BUF_SIZE) == 0) {
} else if(strncmp(in_buffer, "clear", BUF_SIZE) == 0) {
rpp_sdr_clear();
rpp_sci_printf((const char*)"Done.\r\n");
- rpp_sci_printf("%s", prompt);
+ rpp_sci_printf((const char*)"%s", prompt);
// Available command
} else if(strncmp(in_buffer, "available", BUF_SIZE) == 0) {
rpp_sdr_available() / 1024,
memory_size / 1024
);
+ rpp_sci_printf((const char*)"%s", newline);
+ rpp_sci_printf((const char*)"%s", prompt);
// Unknown command, print buffer back
} else {
rpp_sci_printf(
(const char*)"ERROR: Unknown command \"%s\"\r\n",
(char*)&in_buffer);
- rpp_sci_printf("%s", prompt);
+ rpp_sci_printf((const char*)"%s", prompt);
}
// Reset variables