AP_RangeFinder: move rangefinder rotation default down into AP_Periph

This commit is contained in:
Peter Barker 2023-08-08 12:36:29 +10:00 committed by Andrew Tridgell
parent 68e3b1e79b
commit fb0ebf75ca
1 changed files with 0 additions and 5 deletions

View File

@ -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