mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 13:13:35 +08:00
moved function defenition
This commit is contained in:
@@ -1222,6 +1222,9 @@ void UavcanNode::shrink()
|
||||
(void)pthread_mutex_unlock(&_node_mutex);
|
||||
}
|
||||
|
||||
void UavcanNode::hardpoint_controller_set(uint8_t hardpoint_id, uint16_t command){
|
||||
_hardpoint_controller.set_command(hardpoint_id, command);
|
||||
}
|
||||
/*
|
||||
* App entry point
|
||||
*/
|
||||
@@ -1233,10 +1236,6 @@ static void print_usage()
|
||||
|
||||
extern "C" __EXPORT int uavcan_main(int argc, char *argv[]);
|
||||
|
||||
void UavcanNode::hardpoint_controller_set(uint8_t hardpoint_id, uint16_t command){
|
||||
_hardpoint_controller.set_command(hardpoint_id, command);
|
||||
}
|
||||
|
||||
int uavcan_main(int argc, char *argv[])
|
||||
{
|
||||
if (argc < 2) {
|
||||
|
||||
Reference in New Issue
Block a user