From ddab839811c10b5c10bbaf5a5b597659541b50c3 Mon Sep 17 00:00:00 2001 From: Regimantas Date: Wed, 18 Dec 2019 13:53:12 +0200 Subject: [PATCH] Add files via upload --- src/Oversampling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Oversampling.cpp b/src/Oversampling.cpp index 3bd53b5..fd82d60 100644 --- a/src/Oversampling.cpp +++ b/src/Oversampling.cpp @@ -9,7 +9,7 @@ Oversampling::Oversampling(int adcbytes, int samplebytes, int Averaging) { - _samplebytes = constrain(samplebytes, 11, 24); + _samplebytes = constrain(samplebytes, 11, 18); _adcbytes = constrain(adcbytes, 10, 12); if (Averaging < 1){ Averaging = 1;