mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CVFD: correctly clear old text
This commit is contained in:
@@ -68,7 +68,7 @@ CVFD::CVFD()
|
|||||||
perror("/dev/display");
|
perror("/dev/display");
|
||||||
has_lcd = 0;
|
has_lcd = 0;
|
||||||
}
|
}
|
||||||
text[0] = 0;
|
text.clear();
|
||||||
clearClock = 0;
|
clearClock = 0;
|
||||||
mode = MODE_TVRADIO;
|
mode = MODE_TVRADIO;
|
||||||
switch_name_time_cnt = 0;
|
switch_name_time_cnt = 0;
|
||||||
@@ -688,7 +688,7 @@ void CVFD::Clear()
|
|||||||
if(ret < 0)
|
if(ret < 0)
|
||||||
perror("IOC_FP_SET_TEXT");
|
perror("IOC_FP_SET_TEXT");
|
||||||
else
|
else
|
||||||
text[0] = 0;
|
text.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CVFD::ShowIcon(fp_icon icon, bool show)
|
void CVFD::ShowIcon(fp_icon icon, bool show)
|
||||||
|
Reference in New Issue
Block a user