You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2018/12/04 13:10:19 UTC
[mynewt-core] 01/04: hw/mcu/nordic: Remove unnecessary RESUME task
trigger
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit bb1938c0d5f448cb6a1d4152c03995652959a562
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Mon Nov 26 11:09:39 2018 +0100
hw/mcu/nordic: Remove unnecessary RESUME task trigger
RESUME is used after SUSPEND, but we do not trigger SUSPEND anywhere so
this seems unnecessary.
---
hw/mcu/nordic/nrf52xxx/src/hal_i2c.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/mcu/nordic/nrf52xxx/src/hal_i2c.c b/hw/mcu/nordic/nrf52xxx/src/hal_i2c.c
index 24a6b25..cea346c 100644
--- a/hw/mcu/nordic/nrf52xxx/src/hal_i2c.c
+++ b/hw/mcu/nordic/nrf52xxx/src/hal_i2c.c
@@ -438,7 +438,6 @@ hal_i2c_master_write(uint8_t i2c_num, struct hal_i2c_master_data *pdata,
regs->SHORTS = 0;
regs->TASKS_STARTTX = 1;
- regs->TASKS_RESUME = 1;
start = os_time_get();
for (i = 0; i < pdata->len; i++) {