Fixed bug in display of MSP430 device names.
This commit is contained in:
parent
437456dda1
commit
66d3b1a166
2
device.c
2
device.c
|
@ -96,7 +96,7 @@ int find_device_id(u_int16_t id, char *out, int max_len)
|
|||
max_len -= len;
|
||||
|
||||
while (id_table[i].id == id) {
|
||||
len = snprintf(out, max_len, "MSP430%s", id_table[i++].id_text);
|
||||
len = snprintf(out, max_len, "/MSP430%s", id_table[i++].id_text);
|
||||
out += len;
|
||||
max_len -= len;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue