comparison Small_CPU/Src/compass.c @ 207:b95741467355 ImprovmentSPI

Introduce scheduler function The first implementation was only focussed on doing a hard sync and the new one uses an interface instead of global variables
author ideenmodellierer
date Sun, 24 Mar 2019 22:53:17 +0100
parents a61b46a5265b
children f9b17e898a7a
comparison
equal deleted inserted replaced
206:0bb6a8e7be9d 207:b95741467355
32 32
33 #include "compass.h" 33 #include "compass.h"
34 #include "compass_LSM303D.h" 34 #include "compass_LSM303D.h"
35 #include "compass_LSM303DLHC.h" 35 #include "compass_LSM303DLHC.h"
36 36
37 #include "spi.h"
38 #include "i2c.h" 37 #include "i2c.h"
39 #include "RTE_FlashAccess.h" // to store compass_calib_data 38 #include "RTE_FlashAccess.h" // to store compass_calib_data
40 39
41 #include "stm32f4xx_hal.h" 40 #include "stm32f4xx_hal.h"
42 41