This commit is contained in:
2025-12-04 17:08:35 +08:00
parent 2d54629624
commit 17e19a332d

View File

@@ -47,7 +47,7 @@ print("Initialize OK")
# Get device count
device_count = AT_64(0)
ret = lib.AT_GetInt(AT_HANDLE_SYSTEM, "Device Count", ctypes.byref(device_count))
ret = lib.AT_GetInt(AT_HANDLE_SYSTEM, "DeviceCount", ctypes.byref(device_count))
if ret != AT_SUCCESS:
print(f"ERROR: Get device count failed, code: {ret}")
else: