AP_Mount: removed native_millis/micros

This commit is contained in:
Andrew Tridgell 2023-08-22 11:41:17 +10:00 committed by Peter Barker
parent 85c2c3609b
commit 3752750f0a

View File

@ -470,7 +470,7 @@ void AP_Mount_Xacti::send_gimbal_control(uint8_t mode, int16_t pitch_cd, int16_t
}
// send at no faster than 5hz
const uint32_t now_ms = AP_HAL::native_millis();
const uint32_t now_ms = AP_HAL::millis();
if (now_ms - last_send_gimbal_control_ms < 200) {
return;
}
@ -494,7 +494,7 @@ void AP_Mount_Xacti::send_copter_att_status()
}
// send at no faster than 5hz
const uint32_t now_ms = AP_HAL::native_millis();
const uint32_t now_ms = AP_HAL::millis();
if (now_ms - last_send_copter_att_status_ms < 100) {
return;
}