mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 21:07:40 +08:00
[i2c] also check I2C3
This commit is contained in:
@@ -658,7 +658,7 @@ void monitor_task( void ) {
|
|||||||
void event_task_ap( void ) {
|
void event_task_ap( void ) {
|
||||||
|
|
||||||
#ifndef SINGLE_MCU
|
#ifndef SINGLE_MCU
|
||||||
#if USE_I2C0 || USE_I2C1 || USE_I2C2
|
#if USE_I2C0 || USE_I2C1 || USE_I2C2 || USE_I2C3
|
||||||
i2c_event();
|
i2c_event();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
#if USE_UART0 || USE_UART1 || USE_UART2 || USE_UART3 || USE_UART4 || USE_UART5 || USE_UART6
|
#if USE_UART0 || USE_UART1 || USE_UART2 || USE_UART3 || USE_UART4 || USE_UART5 || USE_UART6
|
||||||
#include "mcu_periph/uart.h"
|
#include "mcu_periph/uart.h"
|
||||||
#endif
|
#endif
|
||||||
#if USE_I2C0 || USE_I2C1 || USE_I2C2
|
#if USE_I2C0 || USE_I2C1 || USE_I2C2 || USE_I2C3
|
||||||
#include "mcu_periph/i2c.h"
|
#include "mcu_periph/i2c.h"
|
||||||
#endif
|
#endif
|
||||||
#if USE_ADC
|
#if USE_ADC
|
||||||
|
|||||||
Reference in New Issue
Block a user