spi.c: fix identation
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -113,7 +113,7 @@ mraa_spi_init(int bus)
|
|||||||
|
|
||||||
char path[MAX_SIZE];
|
char path[MAX_SIZE];
|
||||||
sprintf(path, "/dev/spidev%u.%u",
|
sprintf(path, "/dev/spidev%u.%u",
|
||||||
plat->spi_bus[bus].bus_id, plat->spi_bus[bus].slave_s);
|
plat->spi_bus[bus].bus_id, plat->spi_bus[bus].slave_s);
|
||||||
|
|
||||||
dev->devfd = open(path, O_RDWR);
|
dev->devfd = open(path, O_RDWR);
|
||||||
if (dev->devfd < 0) {
|
if (dev->devfd < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user