Skip to content

Commit

Permalink
Merge pull request #421 from alexandresanlim/master
Browse files Browse the repository at this point in the history
fix: miner screen size for ttgo 1.14
  • Loading branch information
BitMaker-hub authored Jun 10, 2024
2 parents 3efb73b + 0278f15 commit 559861b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/drivers/displays/tDisplayV1Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/media/images_240_135.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 559861b

Please sign in to comment.