From ffd2a6863691a963e2b940018fd651d115a0857b Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Sun, 1 Mar 2026 22:45:08 +0100 Subject: [PATCH] Fix typo in cst816s.py --- internal_filesystem/lib/drivers/indev/cst816s.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_filesystem/lib/drivers/indev/cst816s.py b/internal_filesystem/lib/drivers/indev/cst816s.py index 64255ac8..93306002 100644 --- a/internal_filesystem/lib/drivers/indev/cst816s.py +++ b/internal_filesystem/lib/drivers/indev/cst816s.py @@ -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)