Private
Public Access
2
0

mock SPI: correct error message to actually use data provided

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Alex Tereschenko
2016-08-23 21:54:24 +02:00
committed by Brendan Le Foll
parent a704a956ea
commit 9ff47aa64a

View File

@@ -99,7 +99,7 @@ mraa_mock_spi_mode_replace(mraa_spi_context dev, mraa_spi_mode_t mode)
spi_mode = SPI_MODE_3;
break;
default:
syslog(LOG_ERR, "spi: mode: Invalid SPI mode selected", mode);
syslog(LOG_ERR, "spi: mode: Invalid SPI mode %d selected", mode);
return MRAA_ERROR_INVALID_PARAMETER;
}