mirror of https://github.com/ArduPilot/ardupilot
uncrustify libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080_APM2.h
This commit is contained in:
parent
9d29effd2b
commit
f7af330bfe
|
@ -101,7 +101,9 @@ class AP_OpticalFlow_ADNS3080_APM2 : public AP_OpticalFlow
|
||||||
bool update(); // read latest values from sensor and fill in x,y and totals, return true on successful read
|
bool update(); // read latest values from sensor and fill in x,y and totals, return true on successful read
|
||||||
|
|
||||||
// ADNS3080 specific features
|
// ADNS3080 specific features
|
||||||
bool motion() { if( _motion ) { _motion = false; return true; }else{ return false; } } // return true if there has been motion since the last time this was called
|
bool motion() {
|
||||||
|
if( _motion ) { _motion = false; return true; }else{ return false; }
|
||||||
|
} // return true if there has been motion since the last time this was called
|
||||||
|
|
||||||
void disable_serial_pullup();
|
void disable_serial_pullup();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue