From 84c747c81cc408c0f46016abf8cad41f25ecd05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Tue, 22 Sep 2020 23:47:18 +0200 Subject: [PATCH] silence compiler warning about unused parameter --- stm-firmware/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stm-firmware/shell.c b/stm-firmware/shell.c index c48c946..dbc08c8 100644 --- a/stm-firmware/shell.c +++ b/stm-firmware/shell.c @@ -51,6 +51,7 @@ static char IN_SECTION(.ccm.bss) history_buffer[600]; static bool check_opt(const char *args, uint32_t len, const char *opt_to_check) { + (void)len; char str[128]; const char *ptr; static const char * const tokens = "\t ";