Surpress unused variable warning, it's sort of wrong
This commit is contained in:
parent
d1d767cdde
commit
0ca95f59f8
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ void USART_Printf_Init(uint32_t baudrate)
|
||||||
* @return size: Data length
|
* @return size: Data length
|
||||||
*/
|
*/
|
||||||
__attribute__((used))
|
__attribute__((used))
|
||||||
int _write(int fd, char *buf, int size)
|
int _write(__attribute__((unused)) int fd, char *buf, int size)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue