fix compile time

This commit is contained in:
Jacob Dahl
2026-01-29 23:56:53 -09:00
parent bb377cb2a2
commit b8730f9fde
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ if DRIVERS_UAVCAN
config UAVCAN_SENSOR_GNSS_FIX2
bool "Subscribe to GPS Fix2: uavcan::equipment::gnss::Fix2"
default n
default y
config UAVCAN_SENSOR_GNSS_FIX3
bool "Subscribe to GPS Fix3 (preferred): uavcan::equipment::gnss::Fix3"
+2 -2
View File
@@ -60,7 +60,7 @@
#if defined(CONFIG_UAVCAN_SENSOR_FUEL_TANK_STATUS)
#include "fuel_tank_status.hpp"
#endif
#if defined(CONFIG_UAVCAN_SENSOR_GNSS)
#if defined(CONFIG_UAVCAN_SENSOR_GNSS_AUXILIARY) || defined(CONFIG_UAVCAN_SENSOR_GNSS_FIX) || defined(CONFIG_UAVCAN_SENSOR_GNSS_FIX2) || defined(CONFIG_UAVCAN_SENSOR_GNSS_FIX3)
#include "gnss.hpp"
#endif
#if defined(CONFIG_UAVCAN_SENSOR_GNSS_RELATIVE)
@@ -155,7 +155,7 @@ void IUavcanSensorBridge::make_all(uavcan::INode &node, List<IUavcanSensorBridge
#endif
// GPS
#if defined(CONFIG_UAVCAN_SENSOR_GNSS)
#if defined(CONFIG_UAVCAN_SENSOR_GNSS_AUXILIARY) || defined(CONFIG_UAVCAN_SENSOR_GNSS_FIX) || defined(CONFIG_UAVCAN_SENSOR_GNSS_FIX2) || defined(CONFIG_UAVCAN_SENSOR_GNSS_FIX3)
int32_t uavcan_sub_gps = 1;
param_get(param_find("UAVCAN_SUB_GPS"), &uavcan_sub_gps);