* Not used internally */
| 447 | * Not used internally |
| 448 | */ |
| 449 | void IRCommandDispatcher::setNextBlockingCommand(IRCommandType aBlockingCommandToRunNext) { |
| 450 | #if defined(LOCAL_INFO) |
| 451 | Serial.print(F("Set next command to run to 0x")); |
| 452 | Serial.print(aBlockingCommandToRunNext, HEX); |
| 453 | # if defined(USE_DISPATCHER_COMMAND_STRINGS) |
| 454 | Serial.print('|'); |
| 455 | printIRCommandString(&Serial, aBlockingCommandToRunNext); |
| 456 | # endif |
| 457 | Serial.println(); |
| 458 | #endif |
| 459 | |
| 460 | BlockingCommandToRunNext = aBlockingCommandToRunNext; |
| 461 | requestToStopReceived = true; |
| 462 | } |
| 463 | |
| 464 | /* |
| 465 | * Special delay function for the IRCommandDispatcher. Returns prematurely if requestToStopReceived is set. |
nothing calls this directly
no outgoing calls
no test coverage detected