mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 16:42:47 +08:00
[fixedwing][fix] includes for link_mcu_spi
This commit is contained in:
committed by
Felix Ruess
parent
3fbef2e490
commit
1d6ea247fc
@@ -38,7 +38,7 @@
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
|
||||
#include "link_mcu.h"
|
||||
#include "link_mcu_spi.h"
|
||||
|
||||
// Sensors
|
||||
#if USE_GPS
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "mcu_periph/i2c.h"
|
||||
|
||||
#ifdef MCU_SPI_LINK
|
||||
#include "link_mcu.h"
|
||||
#include "link_mcu_spi.h"
|
||||
#endif
|
||||
|
||||
#ifdef MCU_UART_LINK
|
||||
|
||||
@@ -30,7 +30,7 @@ static struct ap_state _ap_state;
|
||||
struct fbw_state* fbw_state = &_fbw_state;
|
||||
struct ap_state* ap_state = &_ap_state;
|
||||
#else /* SINGLE_MCU */
|
||||
#include "link_mcu.h"
|
||||
#include "link_mcu_spi.h"
|
||||
struct fbw_state* fbw_state = &link_mcu_from_fbw_msg.payload.from_fbw;
|
||||
struct ap_state* ap_state = &link_mcu_from_ap_msg.payload.from_ap;
|
||||
#endif /* ! SINGLE_MCU */
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "link_mcu.h"
|
||||
#include "link_mcu_spi.h"
|
||||
#include "mcu_periph/spi.h"
|
||||
|
||||
struct link_mcu_msg link_mcu_from_ap_msg;
|
||||
|
||||
Reference in New Issue
Block a user