mirror of https://github.com/ArduPilot/ardupilot
AP_BoardConfig: use millis/micros/panic functions
This commit is contained in:
parent
3b4e18043b
commit
89d6acaeaa
|
@ -115,7 +115,7 @@ void AP_BoardConfig::init()
|
|||
|
||||
int fd = open("/dev/px4fmu", 0);
|
||||
if (fd == -1) {
|
||||
hal.scheduler->panic("Unable to open /dev/px4fmu");
|
||||
AP_HAL::panic("Unable to open /dev/px4fmu");
|
||||
}
|
||||
if (ioctl(fd, PWM_SERVO_SET_COUNT, _pwm_count.get()) != 0) {
|
||||
hal.console->printf("RCOutput: Unable to setup alt PWM to %u channels\n", _pwm_count.get());
|
||||
|
|
Loading…
Reference in New Issue