mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
OpticalFlow: fixed SITL build
This commit is contained in:
parent
608cc60689
commit
81fd4b3a3c
@ -372,7 +372,7 @@ AP_OpticalFlow_ADNS3080::get_frame_period()
|
||||
|
||||
// set frame period
|
||||
void
|
||||
AP_OpticalFlow_ADNS3080::set_frame_period(unsigned int period)
|
||||
AP_OpticalFlow_ADNS3080::set_frame_period(uint16_t period)
|
||||
{
|
||||
NumericIntType aNum;
|
||||
aNum.uintValue = period;
|
||||
@ -454,7 +454,7 @@ AP_OpticalFlow_ADNS3080::get_shutter_speed()
|
||||
|
||||
// set_shutter_speed_auto - set shutter speed to auto (true), or manual (false)
|
||||
void
|
||||
AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int shutter_speed)
|
||||
AP_OpticalFlow_ADNS3080::set_shutter_speed(uint16_t shutter_speed)
|
||||
{
|
||||
NumericIntType aNum;
|
||||
aNum.uintValue = shutter_speed;
|
||||
|
Loading…
Reference in New Issue
Block a user