Browse Source

Fix compile error when RF_SUPPORT is enabled (#1475)

sensors
Niek van der Maas 6 years ago
committed by Max Prokhorov
parent
commit
14f3427a9d
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      code/espurna/rfbridge.ino

+ 2
- 3
code/espurna/rfbridge.ino View File

@ -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<n; j++) {
Serial.write(message[j]);


Loading…
Cancel
Save