OpticalFlow: fixed SITL build

This commit is contained in:
Andrew Tridgell 2012-09-25 07:10:22 +10:00
parent 608cc60689
commit 81fd4b3a3c
1 changed files with 2 additions and 2 deletions

View File

@ -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;