mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_OpticalFlow_test: fix build with NULL semaphore.
This commit is contained in:
parent
26ba391cd4
commit
5ac21b71ce
@ -27,7 +27,7 @@ FastSerialPort0(Serial); // FTDI/console
|
|||||||
#define CONFIG_MPU6000_CHIP_SELECT_PIN 53 // MPU600 chip select pin
|
#define CONFIG_MPU6000_CHIP_SELECT_PIN 53 // MPU600 chip select pin
|
||||||
|
|
||||||
//AP_OpticalFlow_ADNS3080 flowSensor; // for APM1
|
//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;
|
Arduino_Mega_ISR_Registry isr_registry;
|
||||||
AP_TimerProcess scheduler;
|
AP_TimerProcess scheduler;
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
BOARD = mega2560
|
||||||
|
include ../../../AP_Common/Arduino.mk
|
Loading…
Reference in New Issue
Block a user