From: openocd-gerrit <ope...@us...> - 2023-11-18 11:24:06
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 8bf7f603ae8c441c7734c9dcdc5ee2805a620fb4 (commit) from 393da819b14c62d267cf5ec86bc511c187e1af18 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8bf7f603ae8c441c7734c9dcdc5ee2805a620fb4 Author: Ahmed BOUDJELIDA <abo...@na...> Date: Mon Oct 16 11:00:28 2023 +0200 contrib/firmware: remove unnecessary delay commands in the i2c bit-banging implementation Change-Id: I741244be7a1bf186cfcb66a5b93e2a1a2ab0fde5 Signed-off-by: Ahmed BOUDJELIDA <abo...@na...> Reviewed-on: https://review.openocd.org/c/openocd/+/7809 Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/contrib/firmware/angie/c/src/usb.c b/contrib/firmware/angie/c/src/usb.c index 747fef124..e284efdf5 100644 --- a/contrib/firmware/angie/c/src/usb.c +++ b/contrib/firmware/angie/c/src/usb.c @@ -773,8 +773,6 @@ void i2c_recieve(void) /* ack: */ uint8_t ack = get_ack(); - delay_us(10); - /* send data */ if (reg_adr_check) { //if there is a byte reg send_byte(reg_adr); @@ -782,8 +780,6 @@ void i2c_recieve(void) ack = get_ack(); } - delay_us(10); - /* repeated start: */ repeated_start(); /* address: */ @@ -791,8 +787,6 @@ void i2c_recieve(void) /* get ack: */ ack = get_ack(); - delay_us(10); - /* receive data */ for (uint8_t i = 0; i < count; i++) { EP8FIFOBUF[i] = receive_byte(); @@ -801,13 +795,9 @@ void i2c_recieve(void) send_ack(); } - delay_ms(1); - /* stop */ stop_cd(); - delay_us(10); - EP8BCH = 0; //EP8 syncdelay(3); EP8BCL = count; //EP8 ----------------------------------------------------------------------- Summary of changes: contrib/firmware/angie/c/src/usb.c | 10 ---------- 1 file changed, 10 deletions(-) hooks/post-receive -- Main OpenOCD repository |