Pozice progress baru
This commit is contained in:
parent
0106c9ca33
commit
c0e9c2fa4a
@ -388,7 +388,7 @@ void OLEDUIPlus::OTAProgress(unsigned int progress, unsigned int total)
|
||||
{
|
||||
|
||||
if (_oled) {
|
||||
_oled->drawProgressBar(4, 32, 120, 8, progress / (total / 100));
|
||||
_oled->drawProgressBar(4, _oled->getHeight() / 2, 120, 8, progress / (total / 100));
|
||||
_oled->display();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user