sim warnings

This commit is contained in:
Matthew Kennedy 2023-07-01 22:45:51 -07:00
parent 04acd2f092
commit 3b2697cb7c
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ static thread_t *cdtp;
#define cputs(msg) chMsgSend(cdtp, (msg_t)msg) #define cputs(msg) chMsgSend(cdtp, (msg_t)msg)
void printToConsole(char *p) { void printToConsole(const char *p) {
cputs(p); cputs(p);
} }
@ -59,7 +59,7 @@ extern int isSerialOverTcpReady;
* *
* @param[in] id event id. * @param[in] id event id.
*/ */
static void termination_handler(eventid_t id) { static void termination_handler(eventid_t /*id*/) {
chThdSleepMilliseconds(10); chThdSleepMilliseconds(10);