needs cleanup still

This commit is contained in:
Drath
2025-09-11 18:05:27 +02:00
parent 8fa74af6db
commit 6d0492fcb7
2 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ void LCDDisplay::writeBuf(uint8_t row, uint8_t col, std::string str) {
/* hyper optimized buffer flush command, writes whole disp with a single write */
void LCDDisplay::flushBuffer() {
char writebuf[168]; // 4x40 chars + 2x4 setcursor commands + 1 null terminator
char writebuf[168]; // 4x40 chars + 2x4 setcursor commands
uint8_t setDisp[] = {254, 71, 1}; // skeleton set cursor command
std::memcpy(&writebuf[0], setDisp, 3); // copy template set cursor command