Skip to content

Commit eddc392

Browse files
committed
window management
1 parent 68f78cf commit eddc392

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/controller/Display.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ namespace udd {
242242
height = 0;
243243
}
244244

245-
245+
/*
246246
printRotation(rotation);
247247
fprintf(stderr, "showImage configW=%4d configY=%4d\n", config.width, config.height);
248248
fprintf(stderr, "showImage xOffset=%4d yOffset=%4d\n", config.xOffset, config.yOffset);
249249
fprintf(stderr, "showImage width= %4d height= %4d\n", width, height);
250250
fflush(stderr);
251-
251+
*/
252252

253253
digitalWrite(config.DC, 1);
254254
digitalWrite(config.CS, 0);
@@ -287,12 +287,12 @@ namespace udd {
287287
int x2 = p2.x;
288288
int y2 = p2.y;
289289

290-
fprintf(stderr, "p1(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
290+
// fprintf(stderr, "p1(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
291291

292292
adjustPoint(x1, y1, rotation);
293293
adjustPoint(x2, y2, rotation);
294294

295-
fprintf(stderr, "p2(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
295+
// fprintf(stderr, "p2(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
296296

297297

298298
switch (rotation) {
@@ -315,8 +315,8 @@ namespace udd {
315315
}
316316

317317

318-
fprintf(stderr, "p4(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
319-
fflush(stderr);
318+
// fprintf(stderr, "p4(%3d,%3d) p2(%3d,%3d)\n", x1, y1, x2, y2);
319+
// fflush(stderr);
320320

321321
writeCommand(0x2a); // caset x1 <= y2
322322
writeData(x1 >> 8);

0 commit comments

Comments
 (0)