added: print the on and off commands on start

This commit is contained in:
Bob 2014-08-03 19:46:48 +02:00
parent aab12e0ed0
commit 5c647e4c8f

View file

@ -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;
}