mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 16:41:36 +08:00
Commander: move esc_status as local variable.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Beat Küng
parent
5fe7992af5
commit
2eb9fb9ed6
@@ -65,6 +65,7 @@
|
||||
#include <uORB/topics/vehicle_command.h>
|
||||
#include <uORB/topics/vehicle_global_position.h>
|
||||
#include <uORB/topics/vehicle_local_position.h>
|
||||
#include <uORB/topics/esc_status.h>
|
||||
|
||||
using math::constrain;
|
||||
|
||||
@@ -217,7 +218,7 @@ private:
|
||||
|
||||
void battery_status_check();
|
||||
|
||||
void esc_status_check();
|
||||
void esc_status_check(const esc_status_s &esc_status);
|
||||
|
||||
/**
|
||||
* Checks the status of all available data links and handles switching between different system telemetry states.
|
||||
|
||||
Reference in New Issue
Block a user