Revision: 1582
Author: jsuijs
Date: Sat Jan  2 09:23:42 2010
Log: syntax fix
http://code.google.com/p/jallib/source/detail?r=1582

Modified:
  /trunk/include/peripheral/usart/serial_software.jal

=======================================
--- /trunk/include/peripheral/usart/serial_software.jal Fri Jan  1 10:35:40  
2010
+++ /trunk/include/peripheral/usart/serial_software.jal Sat Jan  2 09:23:42  
2010
@@ -257,14 +257,14 @@
           while !serial_sw_rx_pin loop end loop

           -- wait half a bit time, less 5 usec for other actions
-         _usec_delay((serial_sw_bit_time / 2)
+         _usec_delay(serial_sw_bit_time / 2)

           -- test if still startbit, otherwise restart
           if serial_sw_rx_pin then
              -- now fetch 8 bits
              for 8 loop
                 -- wait a whole bittime, less 5 usec for other actions
-               _usec_delay((serial_sw_bit_time)
+               _usec_delay(serial_sw_bit_time)
                 -- shift new bit in
                 data = data >> 1
                 if !serial_sw_rx_pin then
@@ -353,7 +353,7 @@
        -- now fetch 8 bits
        for 8 loop
           -- wait a whole bittime, less 5 usec for other actions
-         _usec_delay((serial_sw_bit_time)
+         _usec_delay(serial_sw_bit_time)
           -- shift new bit in
           data = data >> 1
           if !serial_sw_rx_pin then

--

You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.


Reply via email to