mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
AP_Motors: fix example sketch
This commit is contained in:
parent
a744658b47
commit
90937be3d4
@ -84,15 +84,4 @@ void loop()
|
||||
}
|
||||
}
|
||||
|
||||
// print motor output
|
||||
void print_motor_output()
|
||||
{
|
||||
int8_t i;
|
||||
for(i=0; i<AP_MOTORS_MAX_NUM_MOTORS; i++) {
|
||||
if( motors.motor_enabled[i] ) {
|
||||
hal.console->printf("\t%d %d",i,motors.motor_out[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
AP_HAL_MAIN();
|
||||
|
Loading…
Reference in New Issue
Block a user