From ea2fafe4ee672a8a46b23e67eb94f93560f579b8 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 3 Dec 2014 18:39:18 +0100 Subject: [PATCH] Remove unneeded type cast of printf format string --- rpp-test-sw/commands/main.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rpp-test-sw/commands/main.c b/rpp-test-sw/commands/main.c index 3fc571f..8d33467 100644 --- a/rpp-test-sw/commands/main.c +++ b/rpp-test-sw/commands/main.c @@ -55,9 +55,7 @@ void main(void) void vApplicationMallocFailedHook(void) { #ifdef DEBUG - rpp_sci_printf((const char *) - "ERROR: manual memory allocation failed.\r\n" - ); + rpp_sci_printf("ERROR: manual memory allocation failed.\r\n"); #endif } #endif @@ -71,9 +69,7 @@ void vApplicationStackOverflowHook(xTaskHandle xTask, signed portCHAR *pcTaskName) { #ifdef DEBUG - rpp_sci_printf((const char *) - "ERROR: Stack overflow : \"%s\".\r\n", pcTaskName - ); + rpp_sci_printf("ERROR: Stack overflow : \"%s\".\r\n", pcTaskName); #endif } #endif -- 2.39.2