mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_ChibiOS: move rangefinder rotation default down into AP_Periph
This commit is contained in:
parent
e9414d69ff
commit
68e3b1e79b
@ -210,6 +210,11 @@
|
||||
#define AP_RANGEFINDER_HC_SR04_ENABLED 0
|
||||
#define AP_RANGEFINDER_PWM_ENABLED 0
|
||||
|
||||
// AP_Periph expects ROTATION_NONE
|
||||
#ifndef AP_RANGEFINDER_DEFAULT_ORIENTATION
|
||||
#define AP_RANGEFINDER_DEFAULT_ORIENTATION ROTATION_NONE
|
||||
#endif
|
||||
|
||||
// no CAN manager in AP_Periph:
|
||||
#define HAL_CANMANAGER_ENABLED 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user