mirror of
https://github.com/EEVengers/ThunderScope.git
synced 2025-04-03 05:16:33 +00:00
Fix return value on windows read_handle function
This commit is contained in:
parent
79acd473ee
commit
06c0310e37
@ -153,7 +153,7 @@ enum ThunderScopeHWStatus thunderscopehw_read_handle(struct ThunderScopeHW* ts,
|
||||
fprintf(stderr, "read handle failed, win32 error code: %d\n", GetLastError());
|
||||
return THUNDERSCOPEHW_STATUS_READ_ERROR;
|
||||
}
|
||||
return true;
|
||||
return THUNDERSCOPEHW_STATUS_OK;
|
||||
}
|
||||
|
||||
enum ThunderScopeHWStatus thunderscopehw_write_handle(struct ThunderScopeHW* ts, HANDLE h, uint8_t* data, uint64_t addr, int64_t bytes)
|
||||
|
Loading…
Reference in New Issue
Block a user