sensors/lis2dh: fix use of obsolete dbg macro

This commit is contained in:
Jussi Kivilinna
2017-10-27 06:13:14 -06:00
committed by Gregory Nutt
parent b0ce7753aa
commit 0ea4d2a11d
+1 -1
View File
@@ -1133,7 +1133,7 @@ static int lis2dh_handle_selftest(FAR struct lis2dh_dev_s *priv)
{ {
if (priv->config->read_int1_pin() != 1) 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; ret = -ENXIO;
goto out; goto out;
} }