mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
sensors/lis2dh: fix use of obsolete dbg macro
This commit is contained in:
committed by
Gregory Nutt
parent
b0ce7753aa
commit
0ea4d2a11d
@@ -1133,7 +1133,7 @@ static int lis2dh_handle_selftest(FAR struct lis2dh_dev_s *priv)
|
||||
{
|
||||
if (priv->config->read_int1_pin() != 1)
|
||||
{
|
||||
dbg("INT1 line is LOW - expected HIGH\n");
|
||||
syslog(LOG_NOTICE, "INT1 line is LOW - expected HIGH\n");
|
||||
ret = -ENXIO;
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user