From 80365c214efce751ccc7e5b91adb4a761bed9214 Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Mon, 23 Oct 2023 17:47:40 -0400 Subject: [PATCH] ...forgot to clen something out... --- DCCTimerGiga.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/DCCTimerGiga.cpp b/DCCTimerGiga.cpp index 0d0bba0..c2296f3 100644 --- a/DCCTimerGiga.cpp +++ b/DCCTimerGiga.cpp @@ -169,10 +169,7 @@ AdvancedADC adc(A0, A1); int ADCee::init(uint8_t pin) { adc.begin(AN_RESOLUTION_10, 16000, 1, 4); - if (adc.available()) { - SampleBuffer buf = adc.read(); - buf.release(); - } + return 123; } /* @@ -194,8 +191,6 @@ int ADCee::read(uint8_t pin, bool fromISR) { } buf.release(); } - - return 1023; } /*