diff --git a/firmware/common/vuprintf.c b/firmware/common/vuprintf.c index fb053ae7da..6a3b29388b 100644 --- a/firmware/common/vuprintf.c +++ b/firmware/common/vuprintf.c @@ -30,13 +30,10 @@ #ifndef BOOTLOADER -/* Only the Quake plugin needs float formatting */ -#if defined(HAVE_LCD_COLOR) && \ - (!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE)) && \ - (PLUGIN_BUFFER_SIZE > 0x14000) && (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(CPU_ARM) -/* turn everything on */ -#define FMT_LENMOD (0xffffffff) -#define FMT_RADIX (0xffffffff) +/* Turn everything on if we have enough RAM. */ +#if MEMORYSIZE >= 8 +# define FMT_LENMOD (0xffffffff) +# define FMT_RADIX (0xffffffff) #endif #endif