From d1f043f23328bcb924b428753a80d8bf3d529840 Mon Sep 17 00:00:00 2001 From: "T. van der Zwan" Date: Tue, 30 Sep 2014 21:00:42 +0200 Subject: [PATCH] Fixed switch-off on shutdown Former-commit-id: 25438c11a3fdb14c89f946d02893a257aada67ea --- deploy/hyperion.tar.gz.REMOVED.git-id | 2 +- libsrc/hyperion/LinearColorSmoothing.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/hyperion.tar.gz.REMOVED.git-id b/deploy/hyperion.tar.gz.REMOVED.git-id index 687dfb80..e7c9bf76 100644 --- a/deploy/hyperion.tar.gz.REMOVED.git-id +++ b/deploy/hyperion.tar.gz.REMOVED.git-id @@ -1 +1 @@ -f8d592fd55a3ca744f582c960dcde3aaa0afe5c0 \ No newline at end of file +e1ca70a63f1ce9b6975aab98b8eb6ae1a353df14 \ No newline at end of file diff --git a/libsrc/hyperion/LinearColorSmoothing.cpp b/libsrc/hyperion/LinearColorSmoothing.cpp index da932e9e..eef5569d 100644 --- a/libsrc/hyperion/LinearColorSmoothing.cpp +++ b/libsrc/hyperion/LinearColorSmoothing.cpp @@ -26,6 +26,8 @@ LinearColorSmoothing::LinearColorSmoothing( LinearColorSmoothing::~LinearColorSmoothing() { + // Make sure to switch off the underlying led-device (because switchOff is no longer forwarded) + _ledDevice->switchOff(); delete _ledDevice; }