forked from len0rd/rockbox
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
This commit is contained in:
parent
669fa9a130
commit
62b10e383c
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ struct configdata disk_config[] =
|
|||
{ TYPE_ENUM, 0, MAX_OSC, { .int_p = &osc_disk.orientation }, "orientation",
|
||||
orientation_str },
|
||||
#ifdef OSCILLOSCOPE_GRAPHMODE
|
||||
{ TYPE_INT, MAX_SPEED, MAX_SPEED,
|
||||
{ TYPE_INT, MIN_SPEED, MAX_SPEED,
|
||||
{ .int_p = &osc_disk.speed[GRAPH_WAVEFORM] }, "wavespeed", NULL },
|
||||
{ TYPE_ENUM, 0, MAX_GRAPH, { .int_p = &osc_disk.graphmode }, "graphmode",
|
||||
graphmode_str },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue