Skip to content

Commit

Permalink
fix: avoid using an unitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
obones committed Feb 21, 2023
1 parent b3e812b commit b2c90b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RFLink/Plugins/Plugin_003.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ void TriState_Send(unsigned long bitstream)
int fretrans = 8; // Number of code retransmissions
uint32_t fdatabit;
uint32_t fdatamask = 0x00000003;
uint32_t fsendbuff;
uint32_t fsendbuff = 0;

// reverse data bits (2 by 2)
for (unsigned short i = 0; i < 12; i++)
Expand Down

0 comments on commit b2c90b1

Please sign in to comment.