moved function defenition

This commit is contained in:
blah
2016-03-14 09:07:46 +01:00
committed by Lorenz Meier
parent 7d079d1dd7
commit 147606a399
+3 -4
View File
@@ -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) {