cleanup code

This commit is contained in:
Eggert Jung
2025-05-13 15:34:51 +02:00
parent 9afe202078
commit 7d65db4f45
5 changed files with 10 additions and 11 deletions

View File

@@ -41,8 +41,6 @@ void SerialStream::reset() {
}
void SerialStream::setPos(int x, int y) {
//char out[] = {0x1b, '[', 0, 0, ';', 0, 0, 'H', 0};
//*this << 0x1b;
write(0x1b);
sout << '[';
sout << dec << x;
@@ -50,9 +48,6 @@ void SerialStream::setPos(int x, int y) {
sout << dec << y;
sout << 'H';
flush();
//itoa(x, &out[2], 10);
//itoa(y, &out[5], 10);
//print( out , strlen(out));
}
void SerialStream::print(char* str, int length) {