diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/hwstub/lib/hwstub_usb.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/hwstub/lib/hwstub_usb.cpp b/utils/hwstub/lib/hwstub_usb.cpp index 37249f5812..2020af0804 100644 --- a/utils/hwstub/lib/hwstub_usb.cpp +++ b/utils/hwstub/lib/hwstub_usb.cpp @@ -525,7 +525,9 @@ error jz_handle::probe() * this code will leaves registers and ram is the same state as before. * In case of failure, simply assume JZ4760. */ if(m_desc_jz.wChipID == 0x4760) - probe_jz4760b(); + m_probe_status = probe_jz4760b(); + else + m_probe_status = error::SUCCESS; /** Fill descriptors */ m_desc_version.bLength = sizeof(m_desc_version); |