From 97423136d147330aba92e7c36ee02adcaa0fcbdc Mon Sep 17 00:00:00 2001 From: bresch Date: Tue, 5 Dec 2023 11:32:34 +0100 Subject: [PATCH] ekf2-AGP: scope control enum --- src/modules/ekf2/EKF/aux_global_position.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ekf2/EKF/aux_global_position.hpp b/src/modules/ekf2/EKF/aux_global_position.hpp index f07adf32e0..4f1355483f 100644 --- a/src/modules/ekf2/EKF/aux_global_position.hpp +++ b/src/modules/ekf2/EKF/aux_global_position.hpp @@ -88,7 +88,7 @@ private: RingBuffer _aux_global_position_buffer{20}; // TODO: size with _obs_buffer_length and actual publication rate uint64_t _time_last_buffer_push{0}; - enum Ctrl : uint8_t { + enum class Ctrl : uint8_t { HPOS = (1<<0), VPOS = (1<<1) };