Revision: 1505
Author: bvwelch
Date: Fri Nov 27 15:41:29 2009
Log: cast vars to byte.

http://code.google.com/p/jallib/source/detail?r=1505

Modified:
  /trunk/include/external/can/can_mcp2515.jal

=======================================
--- /trunk/include/external/can/can_mcp2515.jal Tue Sep 15 12:27:12 2009
+++ /trunk/include/external/can/can_mcp2515.jal Fri Nov 27 15:41:29 2009
@@ -1,6 +1,7 @@
  -- Title: External mcp2515 CAN controller
  -- Author: William Welch Copyright (c) 2009, all rights reserved.
--- Compiler: 2.4
+-- Sponsored by: Fiwihex www.fiwihex.com
+-- Compiler: 2.4m
  --
  -- This file is part of jallib (http://jallib.googlecode.com)
  -- Released under the ZLIB license  
(http://www.opensource.org/licenses/zlib-license.html)
@@ -503,10 +504,10 @@
     -- the final 8 bits.
     sidh = can_id

-   can_write(r_base+1, sidh)
-   can_write(r_base+2, sidl)
-   can_write(r_base+3, eidh)
-   can_write(r_base+4, eidl)
+   can_write(r_base+1, byte(sidh))
+   can_write(r_base+2, byte(sidl))
+   can_write(r_base+3, byte(eidh))
+   can_write(r_base+4, byte(eidl))
     can_write(r_base+5, len)
     for 8 using i loop
        var byte j

--

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