Don't pulse error led if avrdude enters programming mode twice

This commit is contained in:
Peter Van Hoyweghen 2015-07-13 21:49:42 +02:00
parent eca360bf42
commit 5a04ab2a32
1 changed files with 1 additions and 5 deletions

View File

@ -581,12 +581,8 @@ int avrisp() {
empty_reply();
break;
case 'P':
if (pmode) {
pulse(LED_ERR, 3);
}
else {
if (!pmode)
start_pmode();
}
empty_reply();
break;
case 'U': // set address (word)