From ea9290cd74bce9534a2405e3191362a5d716225b Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 11 Aug 2011 11:05:52 -0400 Subject: Reset LEDs on sync, so if the package is disabled they go back to normal. --- config/gwled/gwled.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'config/gwled/gwled.inc') diff --git a/config/gwled/gwled.inc b/config/gwled/gwled.inc index 3fff4c72..7bb25147 100644 --- a/config/gwled/gwled.inc +++ b/config/gwled/gwled.inc @@ -8,6 +8,7 @@ function gwled_running () { function sync_package_gwled() { global $config; $gwled_config = $config['installedpackages']['gwled']['config'][0]; + led_normalize(); /* kill all instances of gwled */ if(gwled_running()) { gwled_stop(); -- cgit v1.2.3