Pozice progress baru

This commit is contained in:
Pavel Brychta 2021-08-10 13:40:21 +02:00
parent 0106c9ca33
commit c0e9c2fa4a

View File

@ -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();
}
}