We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2648e43 commit 709c147Copy full SHA for 709c147
src/linuxgpio.c
@@ -624,7 +624,7 @@ static void linuxgpio_libgpiod_close(PROGRAMMER *pgm) {
624
625
if(pgm->exit_reset == EXIT_RESET_ENABLED) // Exit with RESET pin high
626
pgm->setpin(pgm, PIN_AVR_RESET, 1);
627
- else if(pgm->exit_reset == EXIT_RESET_ENABLED) // Exit with RESET pin low
+ else if(pgm->exit_reset == EXIT_RESET_DISABLED) // Exit with RESET pin low
628
pgm->setpin(pgm, PIN_AVR_RESET, 0);
629
else { // Exit with RESET pin as input (default behaviour)
630
if(linuxgpio_libgpiod_lines[PIN_AVR_RESET] != NULL) {
0 commit comments