From be33f777253a4e43afe04f434227b28f05e75e73 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 May 2022 08:04:37 +1000 Subject: [PATCH] AP_VideoTX: fixed use of configured() vs configured_in_storage() --- libraries/AP_VideoTX/AP_VideoTX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_VideoTX/AP_VideoTX.cpp b/libraries/AP_VideoTX/AP_VideoTX.cpp index 17558f18f8..4ffe1c1bf7 100644 --- a/libraries/AP_VideoTX/AP_VideoTX.cpp +++ b/libraries/AP_VideoTX/AP_VideoTX.cpp @@ -217,7 +217,7 @@ void AP_VideoTX::set_power_level(uint8_t level) { // set the current channel void AP_VideoTX::set_enabled(bool enabled) { _current_enabled = enabled; - if (!_enabled.configured_in_storage()) { + if (!_enabled.configured()) { _enabled.set_and_save(enabled); } }