完成vgainit()

This commit is contained in:
chinky 2017-03-06 10:13:30 +08:00
parent 8cbed19219
commit ae0846742e

View File

@ -1,7 +1,11 @@
#include "vga.h"
#include "fbtool.h"
int vga_init(void)
{
char *fbdev = "/dev/fb0";
if (0 == fb_open(fbdev)) {
printf("Open %s fail!!\n",fbdev);
return -1;
}
}