From c0e9c2fa4a30d9c533a1bdc4e7aa509d6bc872cc Mon Sep 17 00:00:00 2001 From: Pavel Brychta Date: Tue, 10 Aug 2021 13:40:21 +0200 Subject: [PATCH] Pozice progress baru --- src/OLEDUIPlus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OLEDUIPlus.cpp b/src/OLEDUIPlus.cpp index 6b1b0d5..5b1f250 100644 --- a/src/OLEDUIPlus.cpp +++ b/src/OLEDUIPlus.cpp @@ -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(); } }