Semaphore can be null, handled correctly if it is. Rather than check for which SPI bus the sensor is using, just check whether semaphore is not null before using it. More general and flexible. |
||
---|---|---|
.. | ||
examples | ||
AP_OpticalFlow_ADNS3080.cpp | ||
AP_OpticalFlow_ADNS3080.h | ||
AP_OpticalFlow.cpp | ||
AP_OpticalFlow.h | ||
keywords.txt |