Skip to content

Commit

Permalink
Merge pull request cpainchaud#66 from obones/fix_warnings
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
cpainchaud authored Feb 22, 2023
2 parents 8407e9d + bbd9a2f commit 47b1b9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
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
2 changes: 2 additions & 0 deletions RFLink/Plugins/Plugin_076.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ using namespace RFLink::Radio;
#if defined(PLUGIN_076)
#include "1_Radio.h"
#include "2_Signal.h"
#include "4_Display.h"

#if defined(DEBUG) || defined(RFLINK_DEBUG)
#define PLUGIN_076_DEBUG
Expand Down Expand Up @@ -176,6 +177,7 @@ boolean Plugin_076(byte function, const char *string)

#ifdef PLUGIN_TX_076

#include "3_Serial.h"

boolean PluginTX_076(byte function, const char *string)
{
Expand Down
2 changes: 1 addition & 1 deletion RFLink/Plugins/Plugin_254.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ boolean Plugin_254(byte function, const char *string)
RFLink::sendRawPrint(RawSignal.Number); // print number of pulses
RFLink::sendRawPrint(F(";Pulses(uSec)=")); // print pulse durations
// ----------------------------------
char dbuffer[3];
char dbuffer[5];

for (i = 1; i < RawSignal.Number + 1; i++)
{
Expand Down

0 comments on commit 47b1b9f

Please sign in to comment.