Skip to content

Commit

Permalink
RF_Receiver.ino - update send_FIFO
Browse files Browse the repository at this point in the history
beim Senden über den FIFO wurde nach dem Senden kein enable receive durchgeführt
  • Loading branch information
Ralf9 committed Jan 27, 2020
1 parent 7f341a2 commit 4ed4d96
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions RF_Receiver/RF_Receiver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@


#define PROGNAME "RF_RECEIVER"
#define PROGVERS "3.3.4.0-dev200121"
#define PROGVERS "3.3.4.0-dev200126"
#define VERSION_1 0x33
#define VERSION_2 0x40

Expand Down Expand Up @@ -908,6 +908,7 @@ void send_ccFIFO()
MSG_PRINT(cmdstring); // echo
MSG_PRINT(F("Marcs="));
MSG_PRINTLN(cc1101::getMARCSTATE());
enableReceive();
}
else {
startdata = -1;
Expand Down Expand Up @@ -981,10 +982,7 @@ void cmd_help()

void cmd_bank()
{
if (cmdstring.charAt(1) == '?') {
print_Bank();
}
else if (isDigit(cmdstring.charAt(1))) {
if (isDigit(cmdstring.charAt(1))) {
uint8_t digit;
digit = (uint8_t)cmdstring.charAt(1);
bank = cc1101::hex2int(digit);
Expand Down Expand Up @@ -1013,6 +1011,9 @@ void cmd_bank()
MSG_PRINTLN(F(" is not initialized"));
}
}
else if (cmdstring.charAt(0) == 'b' && (cmdstring.length() == 1 || cmdstring.charAt(1) == '?')) {
print_Bank();
}
else {
unsuppCmd = true;
}
Expand Down

0 comments on commit 4ed4d96

Please sign in to comment.