chore: remove a build warning (#7710)
This commit is contained in:
@@ -137,12 +137,12 @@ class WaveformView : public FormField
|
|||||||
etx_obj_add_style(trimKnob, styles->rounded, LV_PART_MAIN);
|
etx_obj_add_style(trimKnob, styles->rounded, LV_PART_MAIN);
|
||||||
lv_obj_add_flag(trimKnob, LV_OBJ_FLAG_HIDDEN);
|
lv_obj_add_flag(trimKnob, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
|
||||||
clear();
|
resetTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t columns() const { return maxCols; }
|
uint16_t columns() const { return maxCols; }
|
||||||
|
|
||||||
void clear()
|
void resetTrace()
|
||||||
{
|
{
|
||||||
count = 0;
|
count = 0;
|
||||||
merge = 1;
|
merge = 1;
|
||||||
@@ -701,7 +701,7 @@ void RadioMicRecorder::enterRecording()
|
|||||||
actionButton->setText(STR_RECORD);
|
actionButton->setText(STR_RECORD);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
waveform->clear();
|
waveform->resetTrace();
|
||||||
waveform->show();
|
waveform->show();
|
||||||
lastWaveSamples = 0;
|
lastWaveSamples = 0;
|
||||||
takeSamples = 0;
|
takeSamples = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user