Skip to content

Commit

Permalink
Fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
peteGSX committed Jan 13, 2025
1 parent df722a1 commit af66bfd
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions TFT_eSPIDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,27 +92,6 @@ void TFT_eSPIDisplay::displayScreen(Screen *screen) {
_needsRedraw = false;
}

<<<<<<< HEAD
=======
void TFT_eSPIDisplay::displayRow(uint8_t row, const char *text, bool underlined, uint8_t column) {
if (text == nullptr) {
return;
}
_tft->setFreeFont(_gfxFont);
int32_t x = 0;
int32_t y = 0;
_getRowPosition(column, row, x, y);
LOG(LogLevel::LOG_DEBUG, "TFT_eSPIDisplay::displayRow[%d](%d, %s, %d, %d) at X=%d|Y=%d", _displayId, row, text,
underlined, column, x, y);
_tft->setTextColor(_textColour);
LOG(LogLevel::LOG_DEBUG, "setTextColour(0x%04X)", _textColour);
if (column == 0) {
clearRow(row);
}
_tft->drawString(text, x, y);
}

>>>>>>> Multi-Font
void TFT_eSPIDisplay::clearRow(uint8_t row) {
LOG(LogLevel::LOG_DEBUG, "TFT_eSPIDisplay::clearRow[%d](%d)", _displayId, row);
_tft->setFreeFont(_gfxFont);
Expand All @@ -124,10 +103,7 @@ void TFT_eSPIDisplay::clearRow(uint8_t row) {

void TFT_eSPIDisplay::displayStartupInfo(const char *version) {
LOG(LogLevel::LOG_DEBUG, "TFT_eSPIDisplay::displayStartupInfo[%d](%s)", _displayId, version);
<<<<<<< HEAD
=======
_tft->setRotation(_rotation);
>>>>>>> Multi-Font
_tft->setFreeFont(_gfxFont);
_tft->fillScreen(0xFFFF);
int32_t x = 0;
Expand Down

0 comments on commit af66bfd

Please sign in to comment.