uncrustify libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/AP_OpticalFlow_test.pde

This commit is contained in:
uncrustify 2012-08-16 23:20:51 -07:00 committed by Pat Hickey
parent 4e3199a9e9
commit 0fb7e82792

View File

@ -1,7 +1,7 @@
/*
Example of AP_OpticalFlow library.
Code by Randy Mackay. DIYDrones.com
*/
* Example of AP_OpticalFlow library.
* Code by Randy Mackay. DIYDrones.com
*/
#include <FastSerial.h>
#include <AP_Common.h>
@ -352,42 +352,42 @@ void loop()
switch( value ) {
case 'c' :
case 'c':
// display all config
display_config();
break;
case 'f' :
case 'f':
// set frame rate
set_frame_rate();
break;
case 'i' :
case 'i':
// display image
display_image();
break;
case 'I' :
case 'I':
// display image continuously
display_image_continuously();
break;
case 'm' :
case 'm':
// display motion
display_motion();
break;
case 'r' :
case 'r':
// set resolution
set_resolution();
break;
case 's' :
case 's':
// set shutter speed
set_shutter_speed();
break;
case 'z' :
case 'z':
// clear and reset everything
flowSensor.clear_motion();
break;