1
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user