Skip to content

Commit

Permalink
Add unattended mode for pic reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-pilgram committed Dec 23, 2022
1 parent 2a6926a commit 870b66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/picberry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ void pic_reset(bool silent)

GPIO_CLR(pic_mclr); // remove VDD from MCLR pin
delay_us(1500);
if(!flags.client && !silent){
if(!flags.client && !silent && !flags.unattended){
cout << "Press any key to release the reset...";
fgetc(stdin);
cout << endl;
Expand Down

0 comments on commit 870b66d

Please sign in to comment.