You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2020/09/10 07:49:42 UTC
[mynewt-core] 02/03: hw/ipc_nrf5340: Remove not needed assert
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch nrf53_ipc
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 35e15fb1c729d71ef2f40526269112cfd853a3e7
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Thu Sep 10 09:27:51 2020 +0200
hw/ipc_nrf5340: Remove not needed assert
This assert is a leftover and since now IRQ is disabled before
clearing callback it is no longer needed.
---
hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c b/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c
index 3925d57..14bb4e3 100644
--- a/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c
+++ b/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c
@@ -137,7 +137,6 @@ ipc_nrf5340_isr(void)
for (i = 0; i < IPC_MAX_CHANS; i++) {
if (irq_pend & (0x1UL << i)) {
NRF_IPC->EVENTS_RECEIVE[i] = 0;
- assert(ipcs[i].cb);
ipcs[i].cb(i, ipcs[i].user_data);
}
}