added: print the on and off commands on start
This commit is contained in:
parent
aab12e0ed0
commit
5c647e4c8f
1 changed files with 5 additions and 0 deletions
|
@ -123,6 +123,11 @@ bool CAmpSwitch::Setup()
|
|||
return false;
|
||||
}
|
||||
|
||||
if (m_oncommand)
|
||||
printf("on command: \"%s\"\n", m_oncommand);
|
||||
if (m_offcommand)
|
||||
printf("off command: \"%s\"\n", m_offcommand);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue