diff options
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/programmer.h b/programmer.h index 3bf292d8..97f0ffa6 100644 --- a/programmer.h +++ b/programmer.h @@ -719,10 +719,8 @@ typedef int fdtype; #endif void sp_flush_incoming(void); -fdtype sp_openserport(char *dev, unsigned int baud); -int serialport_config(fdtype fd, unsigned int baud); +fdtype sp_openserport(char *dev, int baud); extern fdtype sp_fd; -/* expose serialport_shutdown as it's currently used by buspirate */ int serialport_shutdown(void *data); int serialport_write(const unsigned char *buf, unsigned int writecnt); int serialport_write_nonblock(const unsigned char *buf, unsigned int writecnt, unsigned int timeout, unsigned int *really_wrote); |