summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-01-23 22:50:14 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-01-24 15:25:14 +0100
commit50eaa2d9ac3e23c5212ba2d0cd1dba4a995ab2c1 (patch)
tree5150db75520ac162adf0ca13c09e9e4587ccf589
parent8fabbb008c1a31c809a3d97f22351f141a2bd02d (diff)
downloadrockbox-50eaa2d9ac3e23c5212ba2d0cd1dba4a995ab2c1.tar.gz
rockbox-50eaa2d9ac3e23c5212ba2d0cd1dba4a995ab2c1.zip
hwstub: fix bug in jz4760B boot rom backend probe
Change-Id: Idb2b3b3903d88c8f6b494d5c9f04778daf3aaed0
-rw-r--r--utils/hwstub/lib/hwstub_usb.cpp4
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);