mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-17 02:54:17 +00:00
avrftdi: Set guard time to fixed 2 bits.
avrftdi_private.h, avrftdi.c: remove pdata->guard_bits refernces, since they are no longer needed avrftdi_tpi.c: Use fixed guard time of 2 bits, this gives 16 bits per frame. tpi_byte2frame() and tpi_frame2byte() functions are now symmetrical and extraction of received data in avrftdi_read_byte is less complicted. Write the new guard time to the TPI in avrftdi_tpi_program_enable(). git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1150 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -50,8 +50,6 @@ typedef struct avrftdi_s {
|
||||
int pin_limit;
|
||||
/* internal RX buffer of the device. needed for INOUT transfers */
|
||||
int rx_buffer_size;
|
||||
/* number of guard bits for TPI. should be moved to struct PROGRAMMER */
|
||||
int guard_bits;
|
||||
/* function pointer to the set_pin function, so that we do not have to drag
|
||||
* it into global scope. it's a hack, but i think it's slightly better than
|
||||
* the alternative.
|
||||
|
||||
Reference in New Issue
Block a user