Skip to content

Commit

Permalink
Revert "Remove exit(0) call from flip1.c"
Browse files Browse the repository at this point in the history
This reverts commit 45c78d7.
  • Loading branch information
koen1711 committed Apr 26, 2024
1 parent 1624f6f commit d9c82cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flip1.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ static int flip1_paged_write(const PROGRAMMER *pgm, const AVRPART *part, const A
if (n_bytes > INT_MAX) {
/* This should never happen, unless the int type is only 16 bits. */
pmsg_error("attempting to read more than %d bytes\n", INT_MAX);
return -1;
exit(1);
}

result = flip1_write_memory(FLIP1(pgm)->dfu, mem_unit, addr,
Expand Down

0 comments on commit d9c82cf

Please sign in to comment.