AP_MSP: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot. Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
This commit is contained in:
parent
4139b7a548
commit
c95ff4b82b
@ -527,7 +527,7 @@ MSPCommandResult AP_MSP_Telem_Backend::msp_process_sensor_command(uint16_t cmd_m
|
||||
void AP_MSP_Telem_Backend::msp_handle_opflow(const MSP::msp_opflow_data_message_t &pkt)
|
||||
{
|
||||
#if HAL_MSP_OPTICALFLOW_ENABLED
|
||||
OpticalFlow *optflow = AP::opticalflow();
|
||||
AP_OpticalFlow *optflow = AP::opticalflow();
|
||||
if (optflow == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user