From 3b2697cb7cbca73e1f1f3da7d5180b0ccd86fede Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 1 Jul 2023 22:45:51 -0700 Subject: [PATCH] sim warnings --- simulator/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simulator/main.cpp b/simulator/main.cpp index 3f89430461..152ac45e89 100644 --- a/simulator/main.cpp +++ b/simulator/main.cpp @@ -32,7 +32,7 @@ static thread_t *cdtp; #define cputs(msg) chMsgSend(cdtp, (msg_t)msg) -void printToConsole(char *p) { +void printToConsole(const char *p) { cputs(p); } @@ -59,7 +59,7 @@ extern int isSerialOverTcpReady; * * @param[in] id event id. */ -static void termination_handler(eventid_t id) { +static void termination_handler(eventid_t /*id*/) { chThdSleepMilliseconds(10);