rem: butterfly_leave_prog_mode(pgm);
context: static void butterfly_close(PROGRAMMER * pgm){  no_show_func_info();  butterfly_leave_prog_mode(pgm);  /* "exit programmer" added by Martin Thomas 2/2004 */  butterfly_send(pgm, "E", 1);  serial_close(pgm->fd);  pgm->fd = -1;}