mirror of https://github.com/ArduPilot/ardupilot
AP_RangeFinder: move rangefinder rotation default down into AP_Periph
This commit is contained in:
parent
68e3b1e79b
commit
fb0ebf75ca
|
@ -2,12 +2,7 @@
|
|||
#include "AP_RangeFinder.h"
|
||||
|
||||
#ifndef AP_RANGEFINDER_DEFAULT_ORIENTATION
|
||||
#ifndef HAL_BUILD_AP_PERIPH
|
||||
#define AP_RANGEFINDER_DEFAULT_ORIENTATION ROTATION_PITCH_270
|
||||
#else
|
||||
// AP_Periph expects ROTATION_NONE
|
||||
#define AP_RANGEFINDER_DEFAULT_ORIENTATION ROTATION_NONE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// table of user settable parameters
|
||||
|
|
Loading…
Reference in New Issue