diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2014-03-06 19:10:46 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2014-03-06 19:10:46 -0500 |
commit | 62b10e383cc7439508e57751dbcdf0d8a617cf1a (patch) | |
tree | 64018d5e12172cc46865a7cfec6278a87f658505 /apps | |
parent | 669fa9a13002835a139b72db80a2a3ee69fa434e (diff) | |
download | rockbox-62b10e383cc7439508e57751dbcdf0d8a617cf1a.tar.gz rockbox-62b10e383cc7439508e57751dbcdf0d8a617cf1a.zip |
Oscilloscope: Fix loading of the speed setting for waveform view
Somehow, a long long time ago, I put MAX*/MAX* in the config data range
fields instead of MIN*/MAX* which forced the settings loader to acknowledge
only 100 as a valid setting other than the default.
Change-Id: Ifbfcafad27e239942449848d6a09426173bbde54
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/oscilloscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c index 4d807493d3..86edfc67e3 100644 --- a/apps/plugins/oscilloscope.c +++ b/apps/plugins/oscilloscope.c | |||
@@ -604,7 +604,7 @@ struct configdata disk_config[] = | |||
604 | { TYPE_ENUM, 0, MAX_OSC, { .int_p = &osc_disk.orientation }, "orientation", | 604 | { TYPE_ENUM, 0, MAX_OSC, { .int_p = &osc_disk.orientation }, "orientation", |
605 | orientation_str }, | 605 | orientation_str }, |
606 | #ifdef OSCILLOSCOPE_GRAPHMODE | 606 | #ifdef OSCILLOSCOPE_GRAPHMODE |
607 | { TYPE_INT, MAX_SPEED, MAX_SPEED, | 607 | { TYPE_INT, MIN_SPEED, MAX_SPEED, |
608 | { .int_p = &osc_disk.speed[GRAPH_WAVEFORM] }, "wavespeed", NULL }, | 608 | { .int_p = &osc_disk.speed[GRAPH_WAVEFORM] }, "wavespeed", NULL }, |
609 | { TYPE_ENUM, 0, MAX_GRAPH, { .int_p = &osc_disk.graphmode }, "graphmode", | 609 | { TYPE_ENUM, 0, MAX_GRAPH, { .int_p = &osc_disk.graphmode }, "graphmode", |
610 | graphmode_str }, | 610 | graphmode_str }, |