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
_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio