Skip to content

Commit

Permalink
Revert "src/lib/drivers/magnetometer/PX4Magnetometer.cpp: Advertise t…
Browse files Browse the repository at this point in the history
…he orb when creating magnetometer driver instance"

This reverts commit 20ff30c.
  • Loading branch information
jlaitine committed Nov 19, 2024
1 parent 20ff30c commit cd06105
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/drivers/magnetometer/PX4Magnetometer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ PX4Magnetometer::PX4Magnetometer(uint32_t device_id, enum Rotation rotation) :
_device_id{device_id},
_rotation{rotation}
{
_sensor_pub.advertise();
}

PX4Magnetometer::~PX4Magnetometer()
Expand Down

0 comments on commit cd06105

Please sign in to comment.