n5110_crash_fix_127
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
More info on https://github.com/e2002/yoradio/wiki/Widgets#widgets-description
|
||||
*************************************************************************************/
|
||||
|
||||
#ifndef displayLCD1602conf_h
|
||||
#define displayLCD1602conf_h
|
||||
#ifndef displayLCD2004conf_h
|
||||
#define displayLCD2004conf_h
|
||||
|
||||
#define DSP_WIDTH 20
|
||||
#define TFT_FRAMEWDT 0
|
||||
|
||||
@@ -180,8 +180,9 @@ void DspCore::clearClock(){
|
||||
|
||||
|
||||
void DspCore::loop(bool force) {
|
||||
if(digitalRead(TFT_CS)==LOW) return;
|
||||
display();
|
||||
delay(5);
|
||||
delay(10);
|
||||
}
|
||||
|
||||
void DspCore::charSize(uint8_t textsize, uint8_t& width, uint16_t& height){
|
||||
|
||||
@@ -265,6 +265,9 @@ void SliderWidget::_clear() {
|
||||
// _oldvalwidth = 0;
|
||||
dsp.fillRect(_config.left, _config.top, _width, _height, _bgcolor);
|
||||
}
|
||||
void SliderWidget::_reset() {
|
||||
_oldvalwidth = 0;
|
||||
}
|
||||
/************************
|
||||
VU WIDGET
|
||||
************************/
|
||||
|
||||
@@ -191,6 +191,7 @@ class SliderWidget: public Widget {
|
||||
void _draw();
|
||||
void _drawslider();
|
||||
void _clear();
|
||||
void _reset();
|
||||
};
|
||||
|
||||
class VuWidget: public Widget {
|
||||
|
||||
Reference in New Issue
Block a user