From cc2b367c0bbed4cdc36000e131b35447d2d85000 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 23 Mar 2023 13:39:37 -0400 Subject: [PATCH] drivers/uavcannode: fix typo (hydrometer->hygrometer) --- src/drivers/uavcannode/Kconfig | 4 ++-- src/drivers/uavcannode/UavcanNode.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/drivers/uavcannode/Kconfig b/src/drivers/uavcannode/Kconfig index fdea87a4b0..1e504ae201 100644 --- a/src/drivers/uavcannode/Kconfig +++ b/src/drivers/uavcannode/Kconfig @@ -33,8 +33,8 @@ if DRIVERS_UAVCANNODE bool "Include GNSS fix" default n - config UAVCANNODE_HYDROMETER_MEASUREMENT - bool "Include hydrometer measurement" + config UAVCANNODE_HYGROMETER_MEASUREMENT + bool "Include hygrometer measurement" default n config UAVCANNODE_LIGHTS_COMMAND diff --git a/src/drivers/uavcannode/UavcanNode.cpp b/src/drivers/uavcannode/UavcanNode.cpp index 38feeb9387..8ac153380e 100644 --- a/src/drivers/uavcannode/UavcanNode.cpp +++ b/src/drivers/uavcannode/UavcanNode.cpp @@ -52,9 +52,9 @@ #include "Publishers/FlowMeasurement.hpp" #endif // CONFIG_UAVCANNODE_FLOW_MEASUREMENT -#if defined(CONFIG_UAVCANNODE_HYDROMETER_MEASUREMENT) +#if defined(UAVCANNODE_HYGROMETER_MEASUREMENT) #include "Publishers/HygrometerMeasurement.hpp" -#endif // CONFIG_UAVCANNODE_HYDROMETER_MEASUREMENT +#endif // UAVCANNODE_HYGROMETER_MEASUREMENT #if defined(CONFIG_UAVCANNODE_GNSS_FIX) #include "Publishers/GnssFix2.hpp" @@ -360,9 +360,9 @@ int UavcanNode::init(uavcan::NodeID node_id, UAVCAN_DRIVER::BusEvent &bus_events _publisher_list.add(new FlowMeasurement(this, _node)); #endif // CONFIG_UAVCANNODE_FLOW_MEASUREMENT -#if defined(CONFIG_UAVCANNODE_HYDROMETER_MEASUREMENT) +#if defined(UAVCANNODE_HYGROMETER_MEASUREMENT) _publisher_list.add(new HygrometerMeasurement(this, _node)); -#endif // CONFIG_UAVCANNODE_HYDROMETER_MEASUREMENT +#endif // UAVCANNODE_HYGROMETER_MEASUREMENT #if defined(CONFIG_UAVCANNODE_GNSS_FIX) _publisher_list.add(new GnssFix2(this, _node));