View Single Post
Old 10-25-2009, 09:49 AM   #157
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by Antartica View Post
Code:
		ioctl(fd, FBIO_ERASE_WHITE, &Update);
Ups! I've just realized that the ioctl that you have selected is for clearing the screen, not for updating it. You have to use FBIO_DISPLAY to do a screen refresh (it has the same parameters as the ioctl to clear the screen, so the change to your code is smallish):

Code:
		ioctl(fd, FBIO_DISPLAY, &Update);
Antartica is offline   Reply With Quote