From 14f3427a9dcd5e421cddba894e30018b3b0b00f0 Mon Sep 17 00:00:00 2001 From: Niek van der Maas Date: Mon, 7 Jan 2019 22:05:51 +0100 Subject: [PATCH] Fix compile error when RF_SUPPORT is enabled (#1475) --- code/espurna/rfbridge.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/espurna/rfbridge.ino b/code/espurna/rfbridge.ino index 818280dc..aa702c58 100644 --- a/code/espurna/rfbridge.ino +++ b/code/espurna/rfbridge.ino @@ -152,9 +152,6 @@ void _rfbLearn() { } - -#if not RF_SUPPORT - /* From an hexa char array ("A220EE...") to a byte array (half the size) */ @@ -170,6 +167,8 @@ static int _rfbToArray(const char * in, byte * out, int length = RF_MESSAGE_SIZE return n; } +#if not RF_SUPPORT + void _rfbSendRaw(const byte *message, const unsigned char n = RF_MESSAGE_SIZE) { for (unsigned char j=0; j