Skip to content

Commit

Permalink
fix baro (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
PonomarevDA authored May 2, 2024
1 parent 6c0d834 commit a131afb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Udral/barometer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
namespace cyphal {

BaroPressurePublisher::BaroPressurePublisher() :
CyphalPublisher(Cyphal::get_instance(), 65535) {
};
CyphalPublisher(Cyphal::get_instance(), 65535) { }

void BaroPressurePublisher::publish(const uavcan_si_sample_pressure_Scalar_1_0& msg) {
static uint8_t buffer[uavcan_si_sample_pressure_Scalar_1_0_EXTENT_BYTES_];
Expand All @@ -23,8 +22,7 @@ void BaroPressurePublisher::publish(const uavcan_si_sample_pressure_Scalar_1_0&
}

BaroTemperaturePublisher::BaroTemperaturePublisher() :
CyphalPublisher(Cyphal::get_instance(), 65535) {
};
CyphalPublisher(Cyphal::get_instance(), 65535) { }

void BaroTemperaturePublisher::publish(const uavcan_si_sample_temperature_Scalar_1_0& msg) {
static uint8_t buffer[uavcan_si_sample_temperature_Scalar_1_0_EXTENT_BYTES_];
Expand Down

0 comments on commit a131afb

Please sign in to comment.