int ftdi_usb_reset(struct ftdi_context *ftdi);
int ftdi_set_baudrate(struct ftdi_context *ftdi, int baudrate);
- int ftdi_write_data(struct ftdi_context *ftdi, char *buf, int size);
- int ftdi_read_data(struct ftdi_context *ftdi, char *buf, int size);
+ int ftdi_write_data(struct ftdi_context *ftdi, unsigned char *buf, int size);
+ int ftdi_read_data(struct ftdi_context *ftdi, unsigned char *buf, int size);
int ftdi_enable_bitbang(struct ftdi_context *ftdi, unsigned char bitmask);
int ftdi_disable_bitbang(struct ftdi_context *ftdi);
// "eeprom" needs to be valid 128 byte eeprom (generated by the eeprom generator)
// the checksum of the eeprom is valided
- int ftdi_read_eeprom(struct ftdi_context *ftdi, char *eeprom);
- int ftdi_write_eeprom(struct ftdi_context *ftdi, char *eeprom);
+ int ftdi_read_eeprom(struct ftdi_context *ftdi, unsigned char *eeprom);
+ int ftdi_write_eeprom(struct ftdi_context *ftdi, unsigned char *eeprom);
int ftdi_erase_eeprom(struct ftdi_context *ftdi);
#ifdef __cplusplus