diff options
Diffstat (limited to 'utils/hwstub')
-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() | |||
525 | * this code will leaves registers and ram is the same state as before. | 525 | * this code will leaves registers and ram is the same state as before. |
526 | * In case of failure, simply assume JZ4760. */ | 526 | * In case of failure, simply assume JZ4760. */ |
527 | if(m_desc_jz.wChipID == 0x4760) | 527 | if(m_desc_jz.wChipID == 0x4760) |
528 | probe_jz4760b(); | 528 | m_probe_status = probe_jz4760b(); |
529 | else | ||
530 | m_probe_status = error::SUCCESS; | ||
529 | 531 | ||
530 | /** Fill descriptors */ | 532 | /** Fill descriptors */ |
531 | m_desc_version.bLength = sizeof(m_desc_version); | 533 | m_desc_version.bLength = sizeof(m_desc_version); |