Harald Welte has submitted this change and it was merged. ( 
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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/firmware/libcommon/source/simtrace_iso7816.c 
b/firmware/libcommon/source/simtrace_iso7816.c
index 17f38a8..466bd65 100644
--- a/firmware/libcommon/source/simtrace_iso7816.c
+++ b/firmware/libcommon/source/simtrace_iso7816.c
@@ -135,8 +135,8 @@
                }
                usart->base->US_FIDI = (ratio & 0x7ff);
                usart->base->US_CR |= US_CR_RXEN | US_CR_STTTO;
-               TRACE_INFO("updated USART(%u) Fi(%u)/Di(%u) ratio(%d): %u\n\r", 
usart->id, fi, di, ratio, usart->base->US_FIDI);
+               //TRACE_INFO("updated USART(%u) Fi(%u)/Di(%u) ratio(%d): 
%u\n\r", usart->id, fi, di, ratio, usart->base->US_FIDI);
        } 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: merged
Gerrit-Change-Id: I08f407d407a18dae3f360ddc64769ddfaeb5b559
Gerrit-Change-Number: 9863
Gerrit-PatchSet: 4
Gerrit-Owner: Kévin Redon <kre...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Kévin Redon <kre...@sysmocom.de>

Reply via email to