Permalink
Browse files

remove reset from fb_open() function

  • Loading branch information...
1 parent 0cd30ee commit cbee64af6101228e5f43f7097763a625b4afa621 David Anders committed Apr 18, 2012
Showing with 3 additions and 6 deletions.
  1. +1 −1 common.c
  2. +1 −1 common.h
  3. +1 −4 fb-test.c
View
@@ -34,7 +34,7 @@
#include "common.h"
-void fb_open(int fb_num, struct fb_info *fb_info, int reset)
+void fb_open(int fb_num, struct fb_info *fb_info)
{
char str[64];
int fd;
View
@@ -51,7 +51,7 @@ struct fb_info
extern char fontdata_8x8[];
-void fb_open(int fb_num, struct fb_info *fb_info, int reset);
+void fb_open(int fb_num, struct fb_info *fb_info);
void fb_update_window(int fd, short x, short y, short w, short h);
void fb_sync_gfx(int fd);
int fb_put_string(struct fb_info *fb_info, int x, int y, char *s, int maxlen,
View
@@ -145,15 +145,12 @@ int main(int argc, char** argv)
case 'f':
req_fb = atoi(optarg);
break;
- case 'r':
- req_reset = 1;
- break;
default:
exit(EXIT_FAILURE);
}
}
- fb_open(req_fb, &fb_info, req_reset);
+ fb_open(req_fb, &fb_info);
fill_screen(&fb_info);

0 comments on commit cbee64a

Please sign in to comment.