Change in osmo-ccid-firmware[master]: switching rx/tx is too slow, and not necessary

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Wed Nov 27 18:44:12 UTC 2019


Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16280 )


Change subject: switching rx/tx is too slow, and not necessary
......................................................................

switching rx/tx is too slow, and not necessary

Change-Id: Ic91b3e183ba451b4e327e407aae0497273652f56
---
M sysmoOCTSIM/cuart_driver_asf4_usart_async.c
1 file changed, 1 insertion(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/80/16280/1

diff --git a/sysmoOCTSIM/cuart_driver_asf4_usart_async.c b/sysmoOCTSIM/cuart_driver_asf4_usart_async.c
index 21ab5a4..a0b3821 100644
--- a/sysmoOCTSIM/cuart_driver_asf4_usart_async.c
+++ b/sysmoOCTSIM/cuart_driver_asf4_usart_async.c
@@ -352,12 +352,9 @@
 		break;
 	case CUART_CTL_RX:
 		if (arg){
-			sercom->USART.CTRLB.bit.RXEN = 1;
-			sercom->USART.CTRLB.bit.TXEN = 0;
+			/* no op */
 		} else {
 			delay_us(cuart->u.asf4.extrawait_after_rx);
-			sercom->USART.CTRLB.bit.RXEN = 0;
-			sercom->USART.CTRLB.bit.TXEN = 1;
 		}
 		break;
 	case CUART_CTL_RST:

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16280
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Ic91b3e183ba451b4e327e407aae0497273652f56
Gerrit-Change-Number: 16280
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191127/0bb579ae/attachment.htm>


More information about the gerrit-log mailing list