From a64b86aa545d2d11d397dbaa48bf3edf7dba4ddb Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 2 Oct 2020 11:52:28 -0400 Subject: test process_data speed measurement --- source/adc.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/adc.cpp') diff --git a/source/adc.cpp b/source/adc.cpp index eca0d16..c28c38f 100644 --- a/source/adc.cpp +++ b/source/adc.cpp @@ -79,6 +79,11 @@ namespace adc adcStartConversion(adcd, &adc_group_config, buffer, count); gptStartContinuous(gptd, 5); } + + void read_set_operation_func(operation_t operation_func) + { + adc_operation_func = operation_func; + } void read_stop() { -- cgit v1.2.3