drivers/uavcannode: fix typo (hydrometer->hygrometer)

This commit is contained in:
Daniel Agar 2023-03-23 13:39:37 -04:00
parent 5b6d1e9290
commit cc2b367c0b
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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));