fix miner screen size for ttgo 1.14

This commit is contained in:
Alexandre Sanlim 2024-06-01 12:20:55 -03:00
parent 3efb73b64f
commit 0278f152cf
2 changed files with 2 additions and 4 deletions

View File

@ -67,14 +67,12 @@ void tDisplay_MinerScreen(unsigned long mElapsed)
render.rdrawString(data.currentHashRate.c_str(), 96, 90, TFT_BLACK);
// Total hashes
render.setFontSize(13);
render.rdrawString(data.totalMHashes.c_str(), 200, 112, TFT_BLACK);
render.rdrawString(data.totalMHashes.c_str(), 200, 106, TFT_BLACK);
// Block templates
render.setFontSize(13);
render.drawString(data.templates.c_str(), 140, 15, 0xDEDB);
// Best diff
render.drawString(data.bestDiff.c_str(), 140, 38, 0xDEDB);
// 32Bit shares
render.setFontSize(13);
render.drawString(data.completedShares.c_str(), 140, 60, 0xDEDB);
// Hores
render.setFontSize(9);

View File

@ -142,7 +142,7 @@ const unsigned short setupModeScreen[0xFD20] PROGMEM = {
// Icon width and height
const uint16_t MinerWidth = 240;
const uint16_t MinerHeight = 128;
const uint16_t MinerHeight = 135;
const unsigned short MinerScreen[0x7800] PROGMEM = {