AcquisitionDevice: further simplify
This commit is contained in:
@@ -76,7 +76,7 @@ bool PCIExpressDevice::HW_ReadMailbox(uint32_t *values) {
|
||||
|
||||
}
|
||||
|
||||
void PCIExpressDevice::HW_SetCancelDataCollectionBit() {
|
||||
void PCIExpressDevice::Cancel() {
|
||||
if (ioctl(fd, IOCTL_JFJOCH_CANCEL) != 0)
|
||||
throw JFJochException(JFJochExceptionCategory::PCIeError,
|
||||
"Failed setting cancel bit", errno);
|
||||
|
||||
Reference in New Issue
Block a user