From 06a61f5dd9329cc51dec3ee0129ec5f464a24c58 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sun, 28 Jul 2024 17:33:51 +0100 Subject: [PATCH] AP_HAL_ChibiOS: RCOut banner: check for GPIO on IOMCU --- libraries/AP_HAL_ChibiOS/RCOutput.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/RCOutput.cpp b/libraries/AP_HAL_ChibiOS/RCOutput.cpp index 4c995188b6..851f39f94b 100644 --- a/libraries/AP_HAL_ChibiOS/RCOutput.cpp +++ b/libraries/AP_HAL_ChibiOS/RCOutput.cpp @@ -1266,9 +1266,13 @@ bool RCOutput::get_output_mode_banner(char banner_msg[], uint8_t banner_msg_len) if (iomcu_enabled) { uint8_t iomcu_mask; const output_mode iomcu_mode = iomcu.get_output_mode(iomcu_mask); + const uint8_t gpio_mask = iomcu.get_GPIO_mask(); for (uint8_t i = 0; i < chan_offset; i++ ) { - if (iomcu_mask & 1U<