MCPcopy Create free account
hub / github.com/Arduino-IRremote/Arduino-IRremote / setNextBlockingCommand

Method setNextBlockingCommand

src/IRCommandDispatcher.hpp:449–462  ·  view source on GitHub ↗

* Not used internally */

Source from the content-addressed store, hash-verified

447 * Not used internally
448 */
449void 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected