From 5c647e4c8f6f8807554b7b2954d5a243301f0182 Mon Sep 17 00:00:00 2001 From: Bob Date: Sun, 3 Aug 2014 19:46:48 +0200 Subject: [PATCH] added: print the on and off commands on start --- src/ampswitch.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ampswitch.cpp b/src/ampswitch.cpp index 3c677e4..101c6bc 100644 --- a/src/ampswitch.cpp +++ b/src/ampswitch.cpp @@ -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; }