This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
WiringPi
mirror of
https://github.com/WiringPi/WiringPi.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
9
Wiki
Activity
Browse Source
Update lcd.c
Free LCD handle slot.
pull/52/head
Marcos Medeiros
8 years ago
committed by
GitHub
parent
314a4b9ec9
commit
7adbd1939f
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
devLib/lcd.c
+ 2
- 1
devLib/lcd.c
View File
@@ -505,6 +505,7 @@ void lcdFree (const int fd)
{
if ((fd >= 0) && (fd < MAX_LCDS))
{
free(lcds[fd]);
lcds[fd] = NULL;
}
}
}
Write
Preview
Loading…
Cancel
Save