Amalgamate the two Trellis implementations and small cleanups.

This commit is contained in:
Jonathan Naylor
2024-10-02 14:42:25 +01:00
parent bc43db1e02
commit ec9f7d7496
20 changed files with 134 additions and 538 deletions

View File

@@ -477,7 +477,7 @@ void CTFTSurenoo::refreshDisplay(void)
// clear display
::snprintf(m_temp, sizeof(m_temp), "BOXF(%d,%d,%d,%d,%d);",
0, 0, X_WIDTH - 1, Y_WIDTH - 1, BG_COLOUR);
m_serial->write((unsigned char*)m_temp, ::strlen(m_temp));
m_serial->write((unsigned char*)m_temp, (unsigned int)::strlen(m_temp));
// mode line
::snprintf(m_temp, sizeof(m_temp), "DCV%d(%d,%d,'%s',%d);",