mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 00:01:09 -06:00
avrdude: bugfixes
This commit is contained in:
parent
07817c8ee5
commit
3d09f2a980
3 changed files with 9 additions and 3 deletions
|
@ -151,7 +151,9 @@ static int wiring_open(PROGRAMMER * pgm, char * port)
|
|||
|
||||
strcpy(pgm->port, port);
|
||||
pinfo.baud = pgm->baudrate ? pgm->baudrate: 115200;
|
||||
serial_open(port, pinfo, &pgm->fd);
|
||||
if (serial_open(port, pinfo, &pgm->fd) < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* If we have a snoozetime, then we wait and do NOT toggle DTR/RTS */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue