From 6d0cf8f7866c210eaaef629eff9f3b55449f2120 Mon Sep 17 00:00:00 2001 From: Ronald Schaten Date: Sat, 21 May 2016 19:17:03 +0200 Subject: [PATCH] make handler functions public --- things/DeviceLed.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/things/DeviceLed.h b/things/DeviceLed.h index 8f8f7ac..605cacb 100644 --- a/things/DeviceLed.h +++ b/things/DeviceLed.h @@ -12,6 +12,9 @@ class DeviceLed : public Device { virtual void deviceSetup(); virtual void deviceRegister(); virtual void deviceLoop(); + bool ledOnHandler(String value); + bool ledBrightnessHandler(String message); + bool ledFadeHandler(String message); private: byte pinLed; char* nameLed; @@ -23,8 +26,5 @@ class DeviceLed : public Device { float progress_last = 0; void setLed(int value); void publishStatus(); - bool ledOnHandler(String value); - bool ledBrightnessHandler(String message); - bool ledFadeHandler(String message); HomieNode ledNode; };