From cd061054f6461a44f6236a5fe329e8af0e4b37c5 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Tue, 19 Nov 2024 11:52:03 +0200 Subject: [PATCH] Revert "src/lib/drivers/magnetometer/PX4Magnetometer.cpp: Advertise the orb when creating magnetometer driver instance" This reverts commit 20ff30c6ce4fa21783602fb2ccc0fe43d5088af0. --- src/lib/drivers/magnetometer/PX4Magnetometer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/drivers/magnetometer/PX4Magnetometer.cpp b/src/lib/drivers/magnetometer/PX4Magnetometer.cpp index d13133ef14f8..40907d870d6d 100644 --- a/src/lib/drivers/magnetometer/PX4Magnetometer.cpp +++ b/src/lib/drivers/magnetometer/PX4Magnetometer.cpp @@ -40,7 +40,6 @@ PX4Magnetometer::PX4Magnetometer(uint32_t device_id, enum Rotation rotation) : _device_id{device_id}, _rotation{rotation} { - _sensor_pub.advertise(); } PX4Magnetometer::~PX4Magnetometer()