Some minor fixes.

This commit is contained in:
sorgelig
2018-06-25 01:23:19 +08:00
parent 2e058b957f
commit 0c1eff9334
4 changed files with 9 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ static int spi_open(int speed, int mode)
return -1;
}
static int spi_close()
static void spi_close()
{
if(spiFd >= 0) close(spiFd);
spiFd = -1;