From c5c5b2a3932f8acef3b0374a5843569825807162 Mon Sep 17 00:00:00 2001 From: Themba Dube Date: Mon, 1 Jun 2020 12:08:48 -0400 Subject: [PATCH] lv_printf: condition floating-point on value not definition --- src/lv_misc/lv_printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lv_misc/lv_printf.c b/src/lv_misc/lv_printf.c index 5ff85fe23..c8281038c 100644 --- a/src/lv_misc/lv_printf.c +++ b/src/lv_misc/lv_printf.c @@ -56,7 +56,7 @@ // support for the floating point type (%f) // default: activated -#ifndef PRINTF_DISABLE_SUPPORT_FLOAT +#if !PRINTF_DISABLE_SUPPORT_FLOAT #define PRINTF_SUPPORT_FLOAT #endif