Return an error for the OSTC4 memory dump
The OSTC4 does not support downloading memory dumps.
This commit is contained in:
parent
3a68af418e
commit
0afd62d7af
@ -1715,6 +1715,10 @@ hw_ostc3_device_dump (dc_device_t *abstract, dc_buffer_t *buffer)
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (device->hardware == OSTC4) {
|
||||
return DC_STATUS_UNSUPPORTED;
|
||||
}
|
||||
|
||||
// Emit a device info event.
|
||||
dc_event_devinfo_t devinfo;
|
||||
devinfo.firmware = device->firmware;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user