kopia lustrzana https://github.com/tasanakorn/rpi-fbcp
Fix: typo #15
rodzic
a8569bd9eb
commit
af8d32246c
5
main.c
5
main.c
|
@ -64,7 +64,7 @@ int process() {
|
|||
|
||||
fbp = (char*) mmap(0, finfo.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fbfd, 0);
|
||||
if (fbp <= 0) {
|
||||
syslog(LOG_ERR, "Unable to create mamory mapping");
|
||||
syslog(LOG_ERR, "Unable to create memory mapping");
|
||||
close(fbfd);
|
||||
ret = vc_dispmanx_resource_delete(screen_resource);
|
||||
vc_dispmanx_display_close(display);
|
||||
|
@ -91,6 +91,3 @@ int main(int argc, char **argv) {
|
|||
|
||||
return process();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue