From e4ba4cc8853a0cb2adc064eb92895d12668265de Mon Sep 17 00:00:00 2001 From: Eric Katzfey Date: Fri, 15 Nov 2024 09:27:35 -0800 Subject: [PATCH] AP_RCProtocol: Fixed an explicit initializer to get rid of Qurt compiler warning --- libraries/AP_RCProtocol/spm_srxl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RCProtocol/spm_srxl.cpp b/libraries/AP_RCProtocol/spm_srxl.cpp index 8dfcf495b58d2..4c8653a3f2e93 100644 --- a/libraries/AP_RCProtocol/spm_srxl.cpp +++ b/libraries/AP_RCProtocol/spm_srxl.cpp @@ -1304,7 +1304,7 @@ void srxlOnFrameError(uint8_t busIndex) SrxlFullID srxlGetTelemetryEndpoint(void) { - SrxlFullID retVal = {0}; + SrxlFullID retVal = {{0}}; if(srxlRx.pTelemRcvr) { retVal.deviceID = srxlRx.pTelemRcvr->deviceID;