mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
move load file to end of postactivation action
and change to use the IrPortController's loadFile method add printing of available IR Commands in the loaded file.
This commit is contained in:
parent
a30062db71
commit
468aff6e3f
2 changed files with 24 additions and 13 deletions
|
|
@ -134,12 +134,9 @@ namespace PepperDash.Essentials.Core
|
|||
|
||||
var port = irDev.IROutputPorts[portNum];
|
||||
|
||||
var filePath = Global.FilePathPrefix + "ir" + Global.DirectorySeparator + control["irFile"].Value<string>();
|
||||
Debug.Console(1, "*************Attemting to load IR file: {0}***************", filePath);
|
||||
port.LoadIRDriver(filePath);
|
||||
|
||||
|
||||
return port;
|
||||
|
||||
}
|
||||
|
||||
public static IrOutputPortController GetIrOutputPortController(DeviceConfig config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue