mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Updates conditional check to allow for the highes numbered IR port to be used.
This commit is contained in:
parent
22ff61d7f3
commit
e5d4ba48fb
1 changed files with 158 additions and 158 deletions
|
|
@ -124,7 +124,7 @@ namespace PepperDash.Essentials.Core
|
|||
Debug.Console(0, "WARNING: device with IR ports '{0}' not found", portDevKey);
|
||||
return null;
|
||||
}
|
||||
if (portNum >= irDev.NumberOfIROutputPorts)
|
||||
if (portNum > irDev.NumberOfIROutputPorts)
|
||||
{
|
||||
Debug.Console(0, "WARNING: device '{0}' IR port {1} out of range",
|
||||
portDevKey, portNum);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue