mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
fixed compile error on transponder_ir.c
... %% transponder_ir.c ./src/main/drivers/transponder_ir.c: In function 'transponderIrInit': ./src/main/drivers/transponder_ir.c:52:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(&transponderIrDMABuffer, 0, TRANSPONDER_DMA_BUFFER_SIZE); ^ ./src/main/drivers/transponder_ir.c:52:5: warning: incompatible implicit declaration of built-in function 'memset' ./src/main/drivers/transponder_ir.c:52:5: note: include '<string.h>' or provide a declaration of 'memset' %% blackbox.c ...
This commit is contained in:
parent
4e894cc90f
commit
9800b47acd
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <platform.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue