Skip to content

Commit

Permalink
changed debug to error
Browse files Browse the repository at this point in the history
  • Loading branch information
penfold42 committed Aug 31, 2016
1 parent fa152b4 commit 44579f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsrc/leddevice/ProviderSpi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int ProviderSpi::writeBytes(const unsigned size, const uint8_t * data)
}

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)
{
Expand Down

0 comments on commit 44579f8

Please sign in to comment.