AP_OpticalFlow_test: fix build with NULL semaphore.

This commit is contained in:
Pat Hickey 2012-10-09 11:36:21 -07:00
parent 26ba391cd4
commit 5ac21b71ce
2 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,7 @@ FastSerialPort0(Serial); // FTDI/console
#define CONFIG_MPU6000_CHIP_SELECT_PIN 53 // MPU600 chip select pin
//AP_OpticalFlow_ADNS3080 flowSensor; // for APM1
AP_OpticalFlow_ADNS3080 flowSensor(A3); // override chip select pin to use A3 if using APM2 or APM2.5
AP_OpticalFlow_ADNS3080 flowSensor(NULL,A3); // override chip select pin to use A3 if using APM2 or APM2.5
Arduino_Mega_ISR_Registry isr_registry;
AP_TimerProcess scheduler;

View File

@ -0,0 +1,2 @@
BOARD = mega2560
include ../../../AP_Common/Arduino.mk