OpticalFlow: fixed SITL build

This commit is contained in:
Andrew Tridgell 2012-09-25 07:10:22 +10:00
parent 608cc60689
commit 81fd4b3a3c

View File

@ -372,7 +372,7 @@ AP_OpticalFlow_ADNS3080::get_frame_period()
// set frame period // set frame period
void void
AP_OpticalFlow_ADNS3080::set_frame_period(unsigned int period) AP_OpticalFlow_ADNS3080::set_frame_period(uint16_t period)
{ {
NumericIntType aNum; NumericIntType aNum;
aNum.uintValue = period; 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) // set_shutter_speed_auto - set shutter speed to auto (true), or manual (false)
void void
AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int shutter_speed) AP_OpticalFlow_ADNS3080::set_shutter_speed(uint16_t shutter_speed)
{ {
NumericIntType aNum; NumericIntType aNum;
aNum.uintValue = shutter_speed; aNum.uintValue = shutter_speed;