Skip to content

Commit

Permalink
AP_HAL: Add @LoggerEnum tags around BOARD/SUBTYPE #defines
Browse files Browse the repository at this point in the history
  • Loading branch information
shancock884 committed Nov 8, 2024
1 parent 874d268 commit 5f7e27a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_HAL/AP_HAL_Boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
#pragma once

// @LoggerEnum: HAL_BOARD
#define HAL_BOARD_SITL 3
// #define HAL_BOARD_SMACCM 4 // unused
// #define HAL_BOARD_PX4 5 // unused
Expand All @@ -16,7 +17,9 @@
#define HAL_BOARD_ESP32 12
#define HAL_BOARD_QURT 13
#define HAL_BOARD_EMPTY 99
// @LoggerEnumEnd

// @LoggerEnum: HAL_BOARD_SUBTYPE
/* Default board subtype is -1 */
#define HAL_BOARD_SUBTYPE_NONE -1

Expand Down Expand Up @@ -70,6 +73,7 @@
#define HAL_BOARD_SUBTYPE_ESP32_NICK 6006
#define HAL_BOARD_SUBTYPE_ESP32_S3DEVKIT 6007
#define HAL_BOARD_SUBTYPE_ESP32_S3EMPTY 6008
// @LoggerEnumEnd

/* InertialSensor driver types */
#define HAL_INS_NONE 0
Expand Down

0 comments on commit 5f7e27a

Please sign in to comment.