temporarily remove espnow control
This commit is contained in:
parent
8697988a52
commit
a1bfc86374
1 changed files with 4 additions and 1 deletions
|
@ -147,12 +147,14 @@ void loop() {
|
|||
|
||||
void processCommand(struct_message espnowdata) { //espnow data from remote
|
||||
|
||||
|
||||
|
||||
Serial.println(millis());
|
||||
Serial.print("ID="); Serial.println(espnowdata.id);
|
||||
Serial.print("Action="); Serial.println(espnowdata.action);
|
||||
Serial.print("Input="); Serial.println(espnowdata.input);
|
||||
Serial.println();
|
||||
|
||||
#ifdef WIRELESS_ENABLED
|
||||
if (espnowdata.id > NUM_CONTROLLERS-1){
|
||||
Serial.print("ID out of range");
|
||||
return;
|
||||
|
@ -167,4 +169,5 @@ void processCommand(struct_message espnowdata) { //espnow data from remote
|
|||
Keyboard.releaseRaw(keyassignments[espnowdata.id][espnowdata.input]);
|
||||
}
|
||||
statuspixel.show();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue