Diff between 70b587a8557cb6fd854a0846c3a073a099e3cfb3 and a57482c38a36b0ea5917b0141c15d356e55ecd0c
Changed Files
| File | Additions | Deletions | Status |
| monitor/ll.c | +2 | -1 | modified |
Full Patch
diff --git a/monitor/ll.c b/monitor/ll.c
index 41bba1a..c111322 100644
--- a/monitor/ll.c
+++ b/monitor/ll.c
@@ -51,7 +51,8 @@ static void set_crc_init(uint32_t access_addr, uint32_t crc_init)
int i;
for (i = 0; i < MAX_CHANNEL; i++) {
- if (channel_list[i].access_addr == 0x00000000) {
+ if (channel_list[i].access_addr == 0x00000000 ||
+ channel_list[i].access_addr == access_addr) {
channel_list[i].access_addr = access_addr;
channel_list[i].crc_init = crc_init;
break;