From 3f1027d0c2773fb270f4b60c7cd2e9e91f40e7af Mon Sep 17 00:00:00 2001 From: Dylan Laduranty Date: Thu, 28 Nov 2019 09:07:52 +0100 Subject: [PATCH] tests/periph_adc: fix content printf on failure --- tests/periph_adc/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/periph_adc/main.c b/tests/periph_adc/main.c index e11b7150aa..f8062ea217 100644 --- a/tests/periph_adc/main.c +++ b/tests/periph_adc/main.c @@ -52,7 +52,7 @@ int main(void) for (unsigned i = 0; i < ADC_NUMOF; i++) { sample = adc_sample(ADC_LINE(i), RES); if (sample < 0) { - printf("ADC_LINE(%u): 10-bit resolution not applicable\n", i); + printf("ADC_LINE(%u): selected resolution not applicable\n", i); } else { printf("ADC_LINE(%u): %i\n", i, sample); }