AP_HAL: rename more variables, types and defines

This commit is contained in:
Andrew Tridgell 2023-04-08 14:09:10 +10:00
parent 3f47d4c71c
commit 5d6b7b04d8
2 changed files with 3 additions and 3 deletions

View File

@ -218,8 +218,8 @@
#define HAL_CANMANAGER_ENABLED (HAL_MAX_CAN_PROTOCOL_DRIVERS > 0) #define HAL_CANMANAGER_ENABLED (HAL_MAX_CAN_PROTOCOL_DRIVERS > 0)
#endif #endif
#ifndef HAL_ENABLE_LIBUAVCAN_DRIVERS #ifndef HAL_ENABLE_DRONECAN_DRIVERS
#define HAL_ENABLE_LIBUAVCAN_DRIVERS HAL_CANMANAGER_ENABLED #define HAL_ENABLE_DRONECAN_DRIVERS HAL_CANMANAGER_ENABLED
#endif #endif
#ifndef AP_TEST_DRONECAN_DRIVERS #ifndef AP_TEST_DRONECAN_DRIVERS

View File

@ -13,7 +13,7 @@
#define HAL_BOARD_NAME "ESP32" #define HAL_BOARD_NAME "ESP32"
#define HAL_CPU_CLASS HAL_CPU_CLASS_150 #define HAL_CPU_CLASS HAL_CPU_CLASS_150
#define HAL_WITH_UAVCAN 0 #define HAL_WITH_DRONECAN 0
#define HAL_HAVE_SAFETY_SWITCH 0 #define HAL_HAVE_SAFETY_SWITCH 0
#define HAL_HAVE_BOARD_VOLTAGE 0 #define HAL_HAVE_BOARD_VOLTAGE 0
#define HAL_HAVE_SERVO_VOLTAGE 0 #define HAL_HAVE_SERVO_VOLTAGE 0