From 90e52bb1cf4c209ef520a50195b97153489477b5 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 11 Oct 2007 19:33:27 +0000 Subject: [PATCH] Accept FS #7933 by Mario Lang: bugfix in fireworks plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15078 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/fireworks.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index bedf82ffd..b95895342 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c @@ -139,13 +139,12 @@ LCD_RGBPACK(19,10,26) }; #endif -static const struct opt_items autofire_delay_settings[16] = { +static const struct opt_items autofire_delay_settings[15] = { { "Off", NULL }, { "50ms", NULL }, { "100ms", NULL }, { "200ms", NULL }, { "300ms", NULL }, - { "300ms", NULL }, { "400ms", NULL }, { "500ms", NULL }, { "600ms", NULL }, @@ -158,7 +157,7 @@ static const struct opt_items autofire_delay_settings[16] = { { "4s", NULL } }; -int autofire_delay_values[16] = { +int autofire_delay_values[15] = { 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400 }; static const struct opt_items particle_settings[8] = { @@ -334,7 +333,7 @@ void fireworks_menu(void) break; case 1: - rb->set_option("Auto-Fire", &autofire_delay, INT, autofire_delay_settings, 16, NULL); + rb->set_option("Auto-Fire", &autofire_delay, INT, autofire_delay_settings, 15, NULL); break; case 2: -- 2.11.4.GIT