Skip to content

Commit a016dc4

Browse files
committed
Replaced logging with print statements
1 parent 044f8f7 commit a016dc4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adafruit_vl6180x.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
from adafruit_bus_device import i2c_device
3434

3535
try:
36-
import logging
3736
from typing import Optional, List
3837
from busio import I2C
3938
except ImportError:
@@ -158,11 +157,11 @@ def range_history_enabled(self) -> bool:
158157
history_ctrl: int = self._read_8(_VL6180X_REG_SYSTEM_HISTORY_CTRL)
159158

160159
if history_ctrl & 0x0:
161-
logging.info("History buffering not enabled")
160+
print("History buffering not enabled")
162161
return False
163162

164163
if (history_ctrl > 1) & 0x1:
165-
logging.info("History buffer stores ALS data, not range")
164+
print("History buffer stores ALS data, not range")
166165
return False
167166

168167
return True

0 commit comments

Comments
 (0)