rem: pgm->fd = serial_open(port, 19200);
add: if(pgm->baudrate == 0) { pgm->baudrate = 19200; } pgm->fd = serial_open(port, pgm->baudrate);
context: static int butterfly_open(PROGRAMMER * pgm, char * port){  no_show_func_info();  strcpy(pgm->port, port);  pgm->fd = serial_open(port, 19200);  /*   * drain any extraneous input   */  butterfly_drain (pgm, 0);  return 0;}