You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Fix typo in cst816s.py
This commit is contained in:
@@ -207,7 +207,7 @@ class CST816S(pointer_framework.PointerDriver):
|
||||
print('FW Version:', hex(self._rx_buf[0]))
|
||||
|
||||
if chip_id not in (_ChipIDValue, _ChipIDValue2):
|
||||
raise RuntimeError(f'Incorrect chip id ({hex(_ChipIDValue)})')
|
||||
raise RuntimeError(f'Incorrect chip id ({hex(chip_id)})')
|
||||
|
||||
self._write_reg(_IrqCtl, _EnTouch | _EnChange)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user