|
@ -152,9 +152,6 @@ void _rfbLearn() { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if not RF_SUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
/*
|
|
|
From an hexa char array ("A220EE...") to a byte array (half the size) |
|
|
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; |
|
|
return n; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#if not RF_SUPPORT
|
|
|
|
|
|
|
|
|
void _rfbSendRaw(const byte *message, const unsigned char n = RF_MESSAGE_SIZE) { |
|
|
void _rfbSendRaw(const byte *message, const unsigned char n = RF_MESSAGE_SIZE) { |
|
|
for (unsigned char j=0; j<n; j++) { |
|
|
for (unsigned char j=0; j<n; j++) { |
|
|
Serial.write(message[j]); |
|
|
Serial.write(message[j]); |
|
|