Skip to content

Commit 1020eb7

Browse files
CopilotMRC3742
andauthored
Fix compilation error: wrap debugln macro calls in if-else chain with explicit braces
Co-authored-by: MRC3742 <26642502+MRC3742@users.noreply.github.com>
1 parent a80020f commit 1020eb7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Multiprotocol/XN297Dump_nrf24l01.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -861,11 +861,11 @@ static uint16_t XN297Dump_callback()
861861

862862
// Data rate configuration
863863
if(CC2500_DUMP_DATA_RATE == 0)
864-
debugln(", bitrate=250K");
864+
{ debugln(", bitrate=250K"); }
865865
else if(CC2500_DUMP_DATA_RATE == 1)
866-
debugln(", bitrate=500K");
866+
{ debugln(", bitrate=500K"); }
867867
else
868-
debugln(", bitrate=Custom");
868+
{ debugln(", bitrate=Custom"); }
869869

870870
debugln("Mode: %s", CC2500_DUMP_RAW_MODE ? "RAW (no filtering)" : "Filtered");
871871

0 commit comments

Comments
 (0)