Skip to content

Commit

Permalink
AP_HAL_ChibiOS: rename AC_OAPATHPLANNER_ENABLED to AP_OAPATHPLANNER_E…
Browse files Browse the repository at this point in the history
…NABLED
  • Loading branch information
shiv-tyagi committed Aug 20, 2023
1 parent e987141 commit a92b389
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/FlywooF745/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ define STM32_PWM_USE_ADVANCED TRUE

# FFT option (disabled by default)
# define HAL_GYROFFT_ENABLED 1
# define AC_OAPATHPLANNER_ENABLED 0
# define AP_OAPATHPLANNER_ENABLED 0

# EK2 options (disabled by default)
# define HAL_NAVEKF2_AVAILABLE 1
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/HEEWING-F405/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ define AP_TRAMP_ENABLED 1
define HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED 1

# features that users are unlikely to want
define AC_OAPATHPLANNER_ENABLED 0
define AP_OAPATHPLANNER_ENABLED 0
define AC_PRECLAND_ENABLED 0
define AP_ICENGINE_ENABLED 0
define AP_OPTICALFLOW_ENABLED 0
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/JHEMCU-GSF405A/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ define AP_BATT_MONITOR_MAX_INSTANCES 1
define HAL_PARACHUTE_ENABLED 0
define HAL_SPRAYER_ENABLED 0
define HAL_GENERATOR_ENABLED 0
define AC_OAPATHPLANNER_ENABLED 0
define AP_OAPATHPLANNER_ENABLED 0
define AC_PRECLAND_ENABLED 0
define HAL_BARO_WIND_COMP_ENABLED 0
define AP_GRIPPER_ENABLED 0
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ define AP_ICENGINE_ENABLED 0
define WINCH_ENABLED 0
define HAL_ADSB_ENABLED 0

define AC_OAPATHPLANNER_ENABLED 0
define AP_OAPATHPLANNER_ENABLED 0
define PRECISION_LANDING 0
#define HAL_BARO_WIND_COMP_ENABLED 0
define AP_OPTICALFLOW_ENABLED 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ define MODE_FLOWHOLD_ENABLED 0
define MODE_TURTLE_ENABLED 0
define MODE_ZIGZAG_ENABLED 0
define AC_NAV_GUIDED 0
define AC_OAPATHPLANNER_ENABLED 0
define AP_OAPATHPLANNER_ENABLED 0
define MODE_FOLLOW_ENABLED 0
define MODE_GUIDED_NOGPS_ENABLED 0
define MODE_SYSTEMID_ENABLED 0
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/include/save_some_flash.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# save some flash
define AC_OAPATHPLANNER_ENABLED 0
define AP_OAPATHPLANNER_ENABLED 0
define AC_PRECLAND_ENABLED 0
define AP_ICENGINE_ENABLED 0
define AP_OPTICALFLOW_ENABLED 0
Expand Down
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/scripts/defaults_periph.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,3 +332,7 @@
#ifndef AP_HAL_CHIBIOS_IN_EXPECTED_DELAY_WHEN_NOT_INITIALISED
#define AP_HAL_CHIBIOS_IN_EXPECTED_DELAY_WHEN_NOT_INITIALISED 0
#endif

#ifndef AP_OAPATHPLANNER_ENABLED
#define AP_OAPATHPLANNER_ENABLED 0
#endif

0 comments on commit a92b389

Please sign in to comment.