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
1 changed files with 1 additions and 1 deletions

View File

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