freemyipod r907 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r906‎ | r907 | r908 >
Date:21:18, 15 March 2014
Author:user890104
Status:new
Tags:
Comment:
Ball: Print screen resolution in the console
Modified paths:
  • /apps/ball/main.c (modified) (history)

Diff [purge]

Index: apps/ball/main.c
@@ -35,6 +35,9 @@
3636 dw = lcd_get_width(),
3737 dh = lcd_get_height();
3838
 39+ cprintf(3, "Display width: %d\n", dw);
 40+ cprintf(3, "Display height: %d\n", dh);
 41+
3942 unsigned int fb_size = DBPP * dw * dh;
4043 void* fb = malloc(fb_size);
4144