]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/template.h
Changed data size from byte to unsigned for write_register indirect call
[lincan.git] / lincan / include / template.h
index f61e31f88851b54a8a808ace1f62e971adf3e996..ef4b443a7896e115b8a543fa095fb1f673ecb475 100644 (file)
@@ -13,7 +13,7 @@ int template_reset(struct candevice_t *candev);
 int template_init_hw_data(struct candevice_t *candev);
 int template_init_chip_data(struct candevice_t *candev, int chipnr);
 int template_init_obj_data(struct chip_t *chip, int objnr);
-void template_write_register(unsigned char data, unsigned long address);
+void template_write_register(unsigned data, unsigned long address);
 unsigned template_read_register(unsigned long address);
 int template_program_irq(struct candevice_t *candev);