Skip to content

Commit

Permalink
Update ADCSetup.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Bexin3 authored Jan 15, 2023
1 parent 708c872 commit 2b1f8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ADCSetup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void FastAttachADC(int ADCpin, bool IDACRefon) {

void AnalogBegin(int resolution, bool midphase, bool Freerun) {

ADCSetup(midphase, resolution, 1, 3, 5, 512, Freerun, 1);
ADCSetup(midphase, resolution, 1, 3, 1, 512, Freerun, 1);
mp = midphase;

}
Expand Down

0 comments on commit 2b1f8f9

Please sign in to comment.