Browse Source

Update lcd.c

Free LCD handle slot.
pull/52/head
Marcos Medeiros 8 years ago
committed by GitHub
parent
commit
7adbd1939f
1 changed files with 2 additions and 1 deletions
  1. +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;
}
}
}

Loading…
Cancel
Save