AP_OpticalFlow: fixed build with print() API change

This commit is contained in:
Andrew Tridgell 2013-09-23 17:08:27 +10:00
parent 53f35dee57
commit 36ea705956

View File

@ -466,7 +466,7 @@ void AP_OpticalFlow_ADNS3080::print_pixel_data()
} }
isFirstPixel = false; isFirstPixel = false;
pixelValue = ( regValue << 2 ); pixelValue = ( regValue << 2 );
hal.console->print(pixelValue,DEC); hal.console->print(pixelValue,BASE_DEC);
if( j!= ADNS3080_PIXELS_X-1 ) if( j!= ADNS3080_PIXELS_X-1 )
hal.console->print_P(PSTR(",")); hal.console->print_P(PSTR(","));
hal.scheduler->delay_microseconds(50); hal.scheduler->delay_microseconds(50);