log: print chip_mcu_id in the DC init path on main

The README branch-selection criterion ("use legacy-mcu1 when the log
reports chip_id=7, chip_mcu_id=1 ...") is only observable on legacy-mcu1:
that branch's system_config_8800dc() logs chip_mcu_id, main's copy does
not, so DC devices running this branch can never see the criterion and
cannot distinguish mcu_id=0 from "unknown" (whose README fallback is
"keep using main"). Mirror the legacy format so the criterion is visible
where it is needed. One line; the value is computed two statements earlier.
This commit is contained in:
xuxinchun1003 committed 2026-10-07 07:42:31 +08:00
1 parent 5b426cafca
commit e0db4e8050
1 file changed
+1 -1
@@ -3759,7 +3759,7 @@ void system_config_8800dc(struct rwnx_hw *rwnx_hw){
}
chip_sub_id = (u8)(rd_mem_addr_cfm.memdata);
//printk("%x=%x\n", rd_mem_addr_cfm.memaddr, rd_mem_addr_cfm.memdata);
AICWFDBG(LOGINFO, "chip_id=%x, chip_sub_id=%x\n", chip_id, chip_sub_id);
AICWFDBG(LOGINFO, "chip_id=%x, chip_mcu_id=%x, chip_sub_id=%x\n", chip_id, chip_mcu_id, chip_sub_id);
//Crystal provided by CPU (start)