Update: 更新micropython libs

This commit is contained in:
王立帮
2024-12-02 14:19:50 +08:00
parent 0ee3f79bcf
commit 94a430ecf6
2 changed files with 8 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ class CI130X:
_buf = self._rreg(_CI_ID_GET, 3)
if not repeat:
self._wreg(bytes([_CI_ID_CLE, 0, 0, _CI_ID_END]))
time.sleep_ms(50)
self._cmd_id = _buf[0] if _buf[2] == _CI_ID_END else None
return self._cmd_id