From 92c5906c1ebc29715217f774bdda029f1f009fcd Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 18 Dec 2021 12:21:56 +1100 Subject: [PATCH] AntennaTracker: tidy log message id definitions Add a comment indicating only 20 ids are available to the vehicle --- AntennaTracker/defines.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/AntennaTracker/defines.h b/AntennaTracker/defines.h index 7fd1a24f11..915a387050 100644 --- a/AntennaTracker/defines.h +++ b/AntennaTracker/defines.h @@ -34,6 +34,8 @@ enum class PWMDisarmed { #define MASK_LOG_CURRENT (1<<6) #define MASK_LOG_ANY 0xFFFF -// Logging messages -#define LOG_V_BAR_MSG 0x04 -#define LOG_V_POS_MSG 0x05 +// Logging messages - only 32 messages are available to the vehicle here. +enum log_messages { + LOG_V_BAR_MSG, + LOG_V_POS_MSG, +};