From 9b2b30de0d30d59a81cdcada81c95a7cacde74e1 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 4 Jul 2024 12:04:55 +0900 Subject: [PATCH] AP_Mount: topotek enum fix for parser --- libraries/AP_Mount/AP_Mount_Topotek.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libraries/AP_Mount/AP_Mount_Topotek.h b/libraries/AP_Mount/AP_Mount_Topotek.h index 9da82d1e6abb49..c1f3e08dc8fa10 100755 --- a/libraries/AP_Mount/AP_Mount_Topotek.h +++ b/libraries/AP_Mount/AP_Mount_Topotek.h @@ -115,19 +115,19 @@ class AP_Mount_Topotek : public AP_Mount_Backend_Serial // address (2nd and 3rd bytes of packet) // first byte is always U followed by one of the other options enum class AddressByte : uint8_t { - UART = 'U', - LENS = 'M', - SYSTEM_AND_IMAGE = 'D', - AUXILIARY_EQUIPMENT = 'E', - NETWORK = 'P', - GIMBAL = 'G', + SYSTEM_AND_IMAGE = 68, // 'D' + AUXILIARY_EQUIPMENT = 69, // 'E' + GIMBAL = 71, // 'G' + LENS = 77, // 'M' + NETWORK = 80, // 'P' + UART = 85, // 'U' }; // control byte (read or write) // sent as 7th byte of packet enum class ControlByte : uint8_t { - READ = 'r', - WRITE = 'w', + READ = 114, // 'r' + WRITE = 119, // 'w' }; // parsing state