commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r6542 - gnuradio/branches/developers/matt/u2f/firmware


From: eb
Subject: [Commit-gnuradio] r6542 - gnuradio/branches/developers/matt/u2f/firmware
Date: Tue, 25 Sep 2007 20:35:52 -0600 (MDT)

Author: eb
Date: 2007-09-25 20:35:52 -0600 (Tue, 25 Sep 2007)
New Revision: 6542

Modified:
   gnuradio/branches/developers/matt/u2f/firmware/pic.c
Log:
minor tweak

Modified: gnuradio/branches/developers/matt/u2f/firmware/pic.c
===================================================================
--- gnuradio/branches/developers/matt/u2f/firmware/pic.c        2007-09-26 
02:24:47 UTC (rev 6541)
+++ gnuradio/branches/developers/matt/u2f/firmware/pic.c        2007-09-26 
02:35:52 UTC (rev 6542)
@@ -67,7 +67,10 @@
 
   pic_regs->mask = ~0;                                // mask all interrupts
   pic_regs->edge_enable = PIC_TIMER_INT | PIC_PHY_INT;
-  pic_regs->polarity = ~0 & ~PIC_PHY_INT;             // rising edge
+  int t = ~0 & ~PIC_PHY_INT;
+  sim_puts("pic_init: polarity = ");
+  sim_puthex_nl(t);
+  pic_regs->polarity = t;                             // rising edge
   pic_regs->pending = ~0;                             // clear all pending ints
 }
 





reply via email to

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