commit-gnuradio
[Top][All Lists]
Advanced

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

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


From: eb
Subject: [Commit-gnuradio] r6745 - gnuradio/branches/developers/matt/u2f/firmware
Date: Tue, 30 Oct 2007 14:01:11 -0600 (MDT)

Author: eb
Date: 2007-10-30 14:01:10 -0600 (Tue, 30 Oct 2007)
New Revision: 6745

Modified:
   gnuradio/branches/developers/matt/u2f/firmware/hal_io.c
Log:


Modified: gnuradio/branches/developers/matt/u2f/firmware/hal_io.c
===================================================================
--- gnuradio/branches/developers/matt/u2f/firmware/hal_io.c     2007-10-30 
19:56:52 UTC (rev 6744)
+++ gnuradio/branches/developers/matt/u2f/firmware/hal_io.c     2007-10-30 
20:01:10 UTC (rev 6745)
@@ -57,9 +57,8 @@
 hal_putc(unsigned char s)
 {
   int t = gpio_base->io_tx & 0x7ff;    // keep bottom bits
-  t |= (s << 8);
-  gpio_base->io_tx = W | t;
-  gpio_base->io_tx = 0 | t;
+  gpio_base->io_tx = (s << 8) | W | t;
+  gpio_base->io_tx = t;
 }
 
 void





reply via email to

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