mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 00:53:41 +08:00
added default values for IR_ROLL_NEUTRAL_DEFAULT and IR_PITCH_NEUTRAL_DEFAULT in infrared.h if not already defined (in the airframe file)
This commit is contained in:
@@ -92,6 +92,18 @@
|
||||
#define IR_CORRECTION_DOWN 1.
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* Default neutral values
|
||||
*/
|
||||
#ifndef IR_ROLL_NEUTRAL_DEFAULT
|
||||
#define IR_ROLL_NEUTRAL_DEFAULT 0.0
|
||||
#endif
|
||||
|
||||
#ifndef IR_PITCH_NEUTRAL_DEFAULT
|
||||
#define IR_PITCH_NEUTRAL_DEFAULT 0.0
|
||||
#endif
|
||||
|
||||
struct Infrared_raw {
|
||||
/* the 3 channels of the sensor
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user