Update template to modern GCC #1

Merged
thomas merged 8 commits from logan/CH32V203:master into master 2023-11-25 01:59:18 -05:00
Showing only changes of commit 0ca95f59f8 - Show all commits

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;