fix
This commit is contained in:
parent
3d14d7e4d1
commit
12918a6a7d
4
spi.c
4
spi.c
@ -74,7 +74,7 @@ int spi_init(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
puts("spi_init");
|
// puts("spi_init");
|
||||||
return SPI_OK;
|
return SPI_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -129,7 +129,7 @@ int spi_write(uint8_t reg, uint8_t value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int spi_deinit(void) {
|
int spi_deinit(void) {
|
||||||
puts("spi_deinit");
|
// puts("spi_deinit");
|
||||||
if (fd) {
|
if (fd) {
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user