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