From: gitknilch Date: Mon, 21 Mar 2011 17:16:32 +0000 (+0100) Subject: use *right* magic value X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/fnordlicht-mini/commitdiff_plain/b1fe38e5ca4633b5afb5956178da40340fcdf8eb use *right* magic value --- 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;