target/cortexm: print t->part_id not ap->partno in unknown device warning
this is the id used to probe, which may or may not be the same
This commit is contained in:
parent
180ceabae3
commit
87cabb78e5
|
@ -498,9 +498,9 @@ bool cortexm_probe(ADIv5_AP_t *ap)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#if PC_HOSTED == 0
|
#if PC_HOSTED == 0
|
||||||
gdb_outf("Please report unknown device with Designer %x Part ID %x\n", ap->designer_code, ap->partno);
|
gdb_outf("Please report unknown device with Designer 0x%x Part ID 0x%x\n", t->designer_code, t->part_id);
|
||||||
#else
|
#else
|
||||||
DEBUG_WARN("Please report unknown device with Designer %x Part ID %x\n", ap->designer_code, ap->partno);
|
DEBUG_WARN("Please report unknown device with Designer 0x%x Part ID 0x%x\n", t->designer_code, t->part_id);
|
||||||
#endif
|
#endif
|
||||||
#undef PROBE
|
#undef PROBE
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue