]> git.zerfleddert.de Git - fnordlicht-mini/commitdiff
use *right* magic value
authorgitknilch <gitknilch@cwde.de>
Mon, 21 Mar 2011 17:16:32 +0000 (18:16 +0100)
committergitknilch <gitknilch@cwde.de>
Mon, 21 Mar 2011 17:16:32 +0000 (18:16 +0100)
firmware/fnordlicht-firmware/fnordlicht.c

index c0ff861958ed8a40e48ad2e4231faf1a1f658e5c..76851e493fb3fd0a9cec1b0b026ac9a87aa6c20f 100644 (file)
@@ -48,7 +48,7 @@ static void startup(void)
 
 #if CONFIG_SCRIPT
     /* start default program: showcfg FIXME cleanup magic values */
-    script_start(0u, 4u, (union program_params_t *)startup_config.params.program_parameters);
+    script_start(0u, 3u, (union program_params_t *)startup_config.params.program_parameters);
 #else
     /* or set some default color */
     global_pwm.target.red = 50u;
Impressum, Datenschutz