From b1fe38e5ca4633b5afb5956178da40340fcdf8eb Mon Sep 17 00:00:00 2001 From: gitknilch Date: Mon, 21 Mar 2011 18:16:32 +0100 Subject: [PATCH] use *right* magic value --- firmware/fnordlicht-firmware/fnordlicht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/fnordlicht-firmware/fnordlicht.c b/firmware/fnordlicht-firmware/fnordlicht.c index c0ff861..76851e4 100644 --- a/firmware/fnordlicht-firmware/fnordlicht.c +++ b/firmware/fnordlicht-firmware/fnordlicht.c @@ -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; -- 2.39.5