fix miner screen size for ttgo 1.14
This commit is contained in:
parent
3efb73b64f
commit
0278f152cf
@ -67,14 +67,12 @@ void tDisplay_MinerScreen(unsigned long mElapsed)
|
|||||||
render.rdrawString(data.currentHashRate.c_str(), 96, 90, TFT_BLACK);
|
render.rdrawString(data.currentHashRate.c_str(), 96, 90, TFT_BLACK);
|
||||||
// Total hashes
|
// Total hashes
|
||||||
render.setFontSize(13);
|
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
|
// Block templates
|
||||||
render.setFontSize(13);
|
|
||||||
render.drawString(data.templates.c_str(), 140, 15, 0xDEDB);
|
render.drawString(data.templates.c_str(), 140, 15, 0xDEDB);
|
||||||
// Best diff
|
// Best diff
|
||||||
render.drawString(data.bestDiff.c_str(), 140, 38, 0xDEDB);
|
render.drawString(data.bestDiff.c_str(), 140, 38, 0xDEDB);
|
||||||
// 32Bit shares
|
// 32Bit shares
|
||||||
render.setFontSize(13);
|
|
||||||
render.drawString(data.completedShares.c_str(), 140, 60, 0xDEDB);
|
render.drawString(data.completedShares.c_str(), 140, 60, 0xDEDB);
|
||||||
// Hores
|
// Hores
|
||||||
render.setFontSize(9);
|
render.setFontSize(9);
|
||||||
|
@ -142,7 +142,7 @@ const unsigned short setupModeScreen[0xFD20] PROGMEM = {
|
|||||||
|
|
||||||
// Icon width and height
|
// Icon width and height
|
||||||
const uint16_t MinerWidth = 240;
|
const uint16_t MinerWidth = 240;
|
||||||
const uint16_t MinerHeight = 128;
|
const uint16_t MinerHeight = 135;
|
||||||
|
|
||||||
|
|
||||||
const unsigned short MinerScreen[0x7800] PROGMEM = {
|
const unsigned short MinerScreen[0x7800] PROGMEM = {
|
||||||
|
Loading…
Reference in New Issue
Block a user