diff --git a/conf/airframes/TU_Delft/MicrojetBR.xml b/conf/airframes/TU_Delft/MicrojetBR.xml index 87465ccd46..0027581695 100644 --- a/conf/airframes/TU_Delft/MicrojetBR.xml +++ b/conf/airframes/TU_Delft/MicrojetBR.xml @@ -34,7 +34,7 @@ - + @@ -78,14 +78,14 @@ - +
- +
@@ -154,7 +154,7 @@ - + @@ -257,10 +257,10 @@ - + diff --git a/conf/airframes/TU_Delft/MicrojetCDW.xml b/conf/airframes/TU_Delft/MicrojetCDW.xml index 9d7e43451a..32cbb91002 100644 --- a/conf/airframes/TU_Delft/MicrojetCDW.xml +++ b/conf/airframes/TU_Delft/MicrojetCDW.xml @@ -89,7 +89,9 @@ +
+
diff --git a/sw/airborne/mcu.c b/sw/airborne/mcu.c index a96d759a9e..d1f02766d7 100644 --- a/sw/airborne/mcu.c +++ b/sw/airborne/mcu.c @@ -36,7 +36,7 @@ #if defined USE_UART0 || defined USE_UART1 || defined USE_UART2 || defined USE_UART3 || defined USE_UART4 || defined USE_UART5 #include "mcu_periph/uart.h" #endif -#if defined USE_I2C1 || defined USE_I2C2 +#if defined USE_I2C0 || defined USE_I2C1 || defined USE_I2C2 #include "mcu_periph/i2c.h" #endif #if defined USE_ADC diff --git a/sw/airborne/subsystems/navigation/OSAMNav.c b/sw/airborne/subsystems/navigation/OSAMNav.c index efd1c72099..95cd4959ee 100644 --- a/sw/airborne/subsystems/navigation/OSAMNav.c +++ b/sw/airborne/subsystems/navigation/OSAMNav.c @@ -365,6 +365,9 @@ bool_t InitializePolygonSurvey(uint8_t EntryWP, uint8_t Size, float sw, float Or CSurveyStatus = Init; + if (Size == 0) + return TRUE; + if (Size == 0) return TRUE;