| 682 | } |
| 683 | |
| 684 | bool CCECProcessor::SaveConfiguration(const libcec_configuration &configuration) |
| 685 | { |
| 686 | libcec_configuration save_config = configuration; |
| 687 | if (!CLibCEC::IsValidPhysicalAddress(configuration.iPhysicalAddress)) |
| 688 | { |
| 689 | CCECBusDevice *device = GetPrimaryDevice(); |
| 690 | if (!!device) |
| 691 | save_config.iPhysicalAddress = device->GetCurrentPhysicalAddress(); |
| 692 | } |
| 693 | |
| 694 | return !!m_communication ? |
| 695 | m_communication->SaveConfiguration(save_config) : |
| 696 | false; |
| 697 | } |
| 698 | |
| 699 | bool CCECProcessor::SetAutoMode(bool automode) |
| 700 | { |
nothing calls this directly
no test coverage detected