fixed code indents and quote marks in text files
This commit is contained in:
10
src/fbinit.c
10
src/fbinit.c
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* UPIWIN - Micro Pi Windowing Framework Kernel
|
||||
* Copyright (C) 2019 Amy Bowersox/Erbosoft Metaverse Design Solutions
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
@@ -52,9 +52,9 @@ static void do_cleanup(void)
|
||||
{
|
||||
/* black out the display */
|
||||
memset(Fb_Ptr, 0, local_info.screenbytes);
|
||||
|
||||
|
||||
munmap((void *)Fb_Ptr, local_info.screenbytes);
|
||||
Fb_Ptr = NULL;
|
||||
Fb_Ptr = NULL;
|
||||
close(fb_fd);
|
||||
fb_fd = -1;
|
||||
}
|
||||
@@ -64,7 +64,7 @@ HRESULT Fb_setup(void)
|
||||
HRESULT hr = S_OK;
|
||||
struct fb_fix_screeninfo fixed;
|
||||
struct fb_var_screeninfo var;
|
||||
|
||||
|
||||
fb_fd = open(Gconfig.framebuffer_device, O_RDWR);
|
||||
if (fb_fd == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user