Skip to content

Commit 666a5d7

Browse files
committed
Bug Fix
For running the script just once option: exit(); didn't compile in the arduino IDE, so it was replaced with an indefinite loop.
1 parent 64ccbfa commit 666a5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

digiQuack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ int main(){
480480
cin >> counter;
481481

482482
if(counter){
483-
fileout << "exit();";
483+
fileout << "for(;;){ /*empty*/ }";
484484
}
485485

486486
//Close converted script txt fstream

0 commit comments

Comments
 (0)