Skip to content
Snippets Groups Projects
Commit e8cceff5 authored by Pat Hickey's avatar Pat Hickey
Browse files

AP_OpticalFlow_ADNS3080: has private AP_Semaphore* _semaphore

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.
parent 14d52e0c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment