Skip to content
Permalink
Browse files

fixed: work around for amps not responding to power status requests, …

…but sending routing changes. issue #186
  • Loading branch information...
opdenkamp committed Oct 25, 2016
1 parent 5926317 commit 7ce191f7463c16786ba988009090969100ec874d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/libcec/implementations/CECCommandHandler.cpp
@@ -564,6 +564,8 @@ int CCECCommandHandler::HandleRoutingChange(const cec_command &command)
if (device)
{
uint16_t iNewAddress = ((uint16_t)command.parameters[2] << 8) | ((uint16_t)command.parameters[3]);
/** only powered on device send routing changes */
device->SetPowerStatus(CEC_POWER_STATUS_ON);
device->SetActiveRoute(iNewAddress);
return COMMAND_HANDLED;
}

0 comments on commit 7ce191f

Please sign in to comment.
You can’t perform that action at this time.