changeset 665:2795a11973b8

UART PS entity: added trace of line state changes
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 27 May 2020 22:46:55 +0000
parents afcb1115b9b3
children 711b1c6c4e72
files src/g23m-aci/uart/uart_txs.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/g23m-aci/uart/uart_txs.c	Sun May 24 07:38:44 2020 +0000
+++ b/src/g23m-aci/uart/uart_txs.c	Wed May 27 22:46:55 2020 +0000
@@ -534,6 +534,14 @@
   if((uart_data->tx.lines != dlc->lines))
   {
     /*
+     * FreeCalypso addition: trace the dlc->lines value that is
+     * causing UF_SetLineState() calls to the physical UART driver.
+     */
+    TRACE_USER_CLASS_P1(TC_EVENT|TC_USER1,
+                        "sig_ker_tx_line_states_req: dlc->lines = %x",
+                        dlc->lines);
+
+    /*
      * set new line states separatly because
      * if one line is not supported by the driver
      * we can still set the other lines