Skip to content

Commit

Permalink
AP_RCProtocol: Fixed an explicit initializer to get rid of Qurt compi…
Browse files Browse the repository at this point in the history
…ler warning
  • Loading branch information
katzfey committed Nov 15, 2024
1 parent a69b777 commit 77d0e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_RCProtocol/spm_srxl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 77d0e49

Please sign in to comment.