From 5d6e785a4be2e05ad1240570dfc43861b9458a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 2 Nov 2021 16:26:42 +0100 Subject: [PATCH] mixer_module: remove unneeded test_motor_s force init --- src/lib/mixer_module/mixer_module.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/mixer_module/mixer_module.cpp b/src/lib/mixer_module/mixer_module.cpp index 239faef6a9..6fab458c3f 100644 --- a/src/lib/mixer_module/mixer_module.cpp +++ b/src/lib/mixer_module/mixer_module.cpp @@ -96,12 +96,6 @@ _param_prefix(param_prefix) px4_sem_init(&_lock, 0, 1); - // Enforce the existence of the test_motor topic, so we won't miss initial publications - test_motor_s test{}; - uORB::Publication test_motor_pub{ORB_ID(test_motor)}; - test_motor_pub.publish(test); - _motor_test.test_motor_sub.subscribe(); - _use_dynamic_mixing = _param_sys_ctrl_alloc.get(); if (_use_dynamic_mixing) {