commander: fix ModuleBase usage, remove volatile flag

This commit is contained in:
Beat Küng
2020-11-30 11:53:22 -05:00
committed by Daniel Agar
parent aa80167b47
commit 419b336a15
2 changed files with 65 additions and 114 deletions
+4 -4
View File
@@ -31,8 +31,7 @@
*
****************************************************************************/
#ifndef COMMANDER_HPP_
#define COMMANDER_HPP_
#pragma once
#include "Arming/PreFlightCheck/PreFlightCheck.hpp"
#include "failure_detector/FailureDetector.hpp"
@@ -108,6 +107,9 @@ public:
/** @see ModuleBase::run() */
void run() override;
/** @see ModuleBase::print_status() */
int print_status() override;
void enable_hil();
void get_circuit_breaker_params();
@@ -425,5 +427,3 @@ private:
uORB::Publication<vehicle_command_ack_s> _command_ack_pub{ORB_ID(vehicle_command_ack)};
};
#endif /* COMMANDER_HPP_ */