]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/smartcan.c
LinCAN version updated to 0.3
[lincan.git] / lincan / src / smartcan.c
index 4d638f9fdcdc34ab6d3f2a67fae94c2fc1dfdb94..869f5a5fa1f6b9762a3d450b0481c26faa054517 100644 (file)
@@ -4,7 +4,7 @@
  * Rewritten for new CAN queues by Pavel Pisa - OCERA team member
  * email:pisa@cmp.felk.cvut.cz
  * This software is released under the GPL-License.
- * Version lincan-0.2  9 Jul 2003
+ * Version lincan-0.3  17 Jun 2004
  */ 
 
 #include "../include/can.h"
@@ -100,7 +100,7 @@ int smartcan_init_obj_data(struct chip_t *chip, int objnr)
 }
 
 
-void smartcan_write_register(unsigned char data, unsigned long address)
+void smartcan_write_register(unsigned data, unsigned long address)
 {
        can_spin_irqflags_t flags;
        can_spin_lock_irqsave(&smartcan_port_lock,flags);