Skip to content

Commit ad0401e

Browse files
authored
Fix processing an answer form a power command. (#35)
1 parent fbd0c04 commit ad0401e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Commands/PowerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ internal override bool ProcessAnswerString(string a)
4848

4949
if (_cmdDetail == Power.QUERY)
5050
{
51-
a = a.Replace("%1POWR=", "");
51+
a = a.ToUpper().Replace("%1POWR=", "");
5252
int retVal = int.Parse(a);
5353
if (retVal >= (int)PowerStatus.OFF && retVal <= (int)PowerStatus.WARMUP)
5454
{

0 commit comments

Comments
 (0)