]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/smartcan.h
Changed data size from byte to unsigned for write_register indirect call
[lincan.git] / lincan / include / smartcan.h
index 74fa2aa2cf578f26f8f50a58c7a6398bc69a2d39..047ab4bf2cfadba6dbd24c4ea16e922c7919783b 100644 (file)
@@ -13,6 +13,6 @@ int smartcan_reset(struct candevice_t *candev);
 int smartcan_init_hw_data(struct candevice_t *candev);
 int smartcan_init_chip_data(struct candevice_t *candev, int chipnr);
 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);
 unsigned smartcan_read_register(unsigned long address);