Skip to content

Commit 791645a

Browse files
committed
window management
1 parent 48c5d3f commit 791645a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/displays/DisplayST7789.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,15 @@ namespace udd {
133133
fprintf(stderr, "p2(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
134134
swap(int, x1, x2);
135135
swap(int, y1, y2);
136+
137+
fprintf(stderr, "p3(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
138+
136139
swap(int, x1, y2);
137140

138141
}
139142

140143

141-
fprintf(stderr, "p3(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
144+
fprintf(stderr, "p4(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
142145
fflush(stderr);
143146

144147
writeCommand(0x2a); // caset x1 <= y2

0 commit comments

Comments
 (0)