Revision: 1328
Author: bvwelch
Date: Tue Sep 15 16:14:29 2009
Log: fix minor bugs, clean up unused variable

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

Modified:
  /trunk/include/peripheral/can/can_legacy.jal

=======================================
--- /trunk/include/peripheral/can/can_legacy.jal        Mon Sep 14 18:57:58 2009
+++ /trunk/include/peripheral/can/can_legacy.jal        Tue Sep 15 16:14:29 2009
@@ -225,6 +225,8 @@
        -- set the EXIDEN bit
        sidl = sidl | 8
     else
+      eidl = 0
+      eidh = 0
        sidl = 0
     end if

@@ -259,7 +261,7 @@
     var bit can_id_error at can_id:29
     var bit can_id_rtr at can_id:30
     var bit can_id_ext at can_id:31
-   var bit rtr, exid, stat, ex
+   var bit rtr, exid, stat
     var byte r_base, i, v
     var byte sidh, sidl, eidh, eidl
     var dword dtmp

--~--~---------~--~----~------------~-------~--~----~
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