Surpress unused variable warning, it's sort of wrong

This commit is contained in:
Logan G 2023-08-10 00:07:56 -06:00
parent d1d767cdde
commit 0ca95f59f8
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -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;