Change in simtrace2[master]: update_fidi: remove debug output since this function is called in tim...

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/.

Kévin Redon gerrit-no-reply at lists.osmocom.org
Wed Jul 4 08:58:50 UTC 2018


Kévin Redon has uploaded this change for review. ( https://gerrit.osmocom.org/9863


Change subject: update_fidi: remove debug output since this function is called in time critical ISR
......................................................................

update_fidi: remove debug output since this function is called in time critical ISR

Change-Id: I08f407d407a18dae3f360ddc64769ddfaeb5b559
---
M firmware/libcommon/source/simtrace_iso7816.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/63/9863/1

diff --git a/firmware/libcommon/source/simtrace_iso7816.c b/firmware/libcommon/source/simtrace_iso7816.c
index 3d843a7..fe8b88e 100644
--- a/firmware/libcommon/source/simtrace_iso7816.c
+++ b/firmware/libcommon/source/simtrace_iso7816.c
@@ -135,8 +135,8 @@
 		}
 		usart->US_FIDI = (ratio & 0x7ff);
 		usart->US_CR |= US_CR_RXEN | US_CR_STTTO;
-		TRACE_INFO("updated USART Fi(%u)/Di(%u) ratio(%d): %u\n\r", fi, di, ratio, usart->US_FIDI);
+		//TRACE_INFO("updated USART Fi(%u)/Di(%u) ratio(%d): %u\n\r", fi, di, ratio, usart->US_FIDI); /* don't print since this is function is also called by ISRs */
 	} else {
-		TRACE_WARNING("computed Fi/Di ratio %d unsupported\n\r", ratio);
+		//TRACE_WARNING("computed Fi/Di ratio %d unsupported\n\r", ratio); /* don't print since this is function is also called by ISRs */
 	}
 }

-- 
To view, visit https://gerrit.osmocom.org/9863
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I08f407d407a18dae3f360ddc64769ddfaeb5b559
Gerrit-Change-Number: 9863
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180704/8d22fd6e/attachment.htm>


More information about the gerrit-log mailing list