uracoli-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[uracoli-devel] Small addition to diagradio.c


From: Joerg Wunsch
Subject: [uracoli-devel] Small addition to diagradio.c
Date: Sun, 18 Oct 2009 09:56:08 +0200
User-agent: Mutt/1.5.11

When reviewing some older diffs I've got here, I stumbled
across the following one.  I suggest incorporating it into
the official source.  Any objections?

Index: Src/App/diagradio.c
===================================================================
RCS file: /sources/uracoli/uracoli/Src/App/diagradio.c,v
retrieving revision 1.3
diff -u -u -r1.3 diagradio.c
--- Src/App/diagradio.c 4 Sep 2009 19:07:25 -0000       1.3
+++ Src/App/diagradio.c 18 Oct 2009 07:52:13 -0000
@@ -129,6 +129,12 @@
     tmp = trx_reg_read(RG_TRX_STATUS);
     PRINTF(">RADIO INIT[%s]: %s (status=0x%02x)"NL, BOARD_NAME, (tmp == 8 ? 
"OK" : "FAIL"), tmp );
     PRINTF("Timer-Tick %lx"NL, TIMER_TICK);
+    tmp = trx_reg_read(RG_PART_NUM);
+    PRINTF("RADIO_PART_NUM = 0x%02x, RG_PART_NUM = 0x%02x"NL,
+          RADIO_PART_NUM, tmp);
+    tmp = trx_reg_read(RG_VERSION_NUM);
+    PRINTF("RADIO_VERSION_NUM = 0x%02x, RG_VERSION_NUM = 0x%02x"NL,
+          RADIO_VERSION_NUM, tmp);
     PRINT("Config: ");
 
     /* CONFIG */

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]