File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,11 @@ static struct {
153153 uint8_t buf [FT245R_BUFSIZE ]; // receive ring buffer
154154} rx ;
155155
156+ static int ft245r_cmd (PROGRAMMER * pgm , const unsigned char * cmd ,
157+ unsigned char * res );
158+ static int ft245r_tpi_tx (PROGRAMMER * pgm , uint8_t byte );
159+ static int ft245r_tpi_rx (PROGRAMMER * pgm , uint8_t * bytep );
160+
156161// Discard all data from the receive buffer.
157162static void ft245r_rx_buf_purge (PROGRAMMER * pgm ) {
158163 rx .rd = rx .wr = 0 ;
@@ -457,10 +462,6 @@ static void ft245r_enable(PROGRAMMER * pgm) {
457462 set_buff (pgm , ON );
458463}
459464
460- static int ft245r_cmd (PROGRAMMER * pgm , const unsigned char * cmd ,
461- unsigned char * res );
462- static int ft245r_tpi_tx (PROGRAMMER * pgm , uint8_t byte );
463- static int ft245r_tpi_rx (PROGRAMMER * pgm , uint8_t * bytep );
464465/*
465466 * issue the 'program enable' command to the AVR device
466467 */
You can’t perform that action at this time.
0 commit comments