mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
changed debug to error
This commit is contained in:
parent
fa152b4560
commit
44579f85eb
@ -89,7 +89,7 @@ int ProviderSpi::writeBytes(const unsigned size, const uint8_t * data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int retVal = ioctl(_fid, SPI_IOC_MESSAGE(1), &_spi);
|
int retVal = ioctl(_fid, SPI_IOC_MESSAGE(1), &_spi);
|
||||||
DebugIf((retVal < 0), _log, "SPI failed to write. errno: %d, %s", errno, strerror(errno) );
|
ErrorIf((retVal < 0), _log, "SPI failed to write. errno: %d, %s", errno, strerror(errno) );
|
||||||
|
|
||||||
if (retVal == 0 && _latchTime_ns > 0)
|
if (retVal == 0 && _latchTime_ns > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user