diff Small_CPU/Src/compass.c @ 192:a61b46a5265b div-fixes-cleanup-1

cleanup: fix compiler warning SPI_Evaluate_RX_Data() was not declared. Include the correct header. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Sat, 16 Mar 2019 21:08:18 +0100
parents 9baecc0c24b2
children b95741467355
line wrap: on
line diff
--- a/Small_CPU/Src/compass.c	Sat Mar 16 21:02:10 2019 +0100
+++ b/Small_CPU/Src/compass.c	Sat Mar 16 21:08:18 2019 +0100
@@ -34,6 +34,7 @@
 #include "compass_LSM303D.h"
 #include "compass_LSM303DLHC.h"
 
+#include "spi.h"
 #include "i2c.h"
 #include "RTE_FlashAccess.h" // to store compass_calib_data