1
0
Fork 0
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:
TheAngularity 2016-07-12 14:25:06 +02:00 committed by GitHub
parent 4e894cc90f
commit 9800b47acd

View file

@ -17,6 +17,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <platform.h>