From 0ca95f59f8b0a5737d18f20372fc183ca9ad8ced Mon Sep 17 00:00:00 2001 From: Logan G Date: Thu, 10 Aug 2023 00:07:56 -0600 Subject: [PATCH] Surpress unused variable warning, it's sort of wrong --- Debug/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debug/debug.c b/Debug/debug.c index 89117bd..9acbb87 100644 --- a/Debug/debug.c +++ b/Debug/debug.c @@ -182,7 +182,7 @@ void USART_Printf_Init(uint32_t baudrate) * @return size: Data length */ __attribute__((used)) -int _write(int fd, char *buf, int size) +int _write(__attribute__((unused)) int fd, char *buf, int size) { int i;