uncrustify libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080_APM2.h

This commit is contained in:
uncrustify 2012-08-16 23:20:51 -07:00 committed by Pat Hickey
parent 9d29effd2b
commit f7af330bfe
1 changed files with 49 additions and 47 deletions

View File

@ -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();