diff options
Diffstat (limited to 'firmware/common/vuprintf.c')
-rw-r--r-- | firmware/common/vuprintf.c | 11 |
1 files changed, 4 insertions, 7 deletions
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 @@ | |||
30 | 30 | ||
31 | #ifndef BOOTLOADER | 31 | #ifndef BOOTLOADER |
32 | 32 | ||
33 | /* Only the Quake plugin needs float formatting */ | 33 | /* Turn everything on if we have enough RAM. */ |
34 | #if defined(HAVE_LCD_COLOR) && \ | 34 | #if MEMORYSIZE >= 8 |
35 | (!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE)) && \ | 35 | # define FMT_LENMOD (0xffffffff) |
36 | (PLUGIN_BUFFER_SIZE > 0x14000) && (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(CPU_ARM) | 36 | # define FMT_RADIX (0xffffffff) |
37 | /* turn everything on */ | ||
38 | #define FMT_LENMOD (0xffffffff) | ||
39 | #define FMT_RADIX (0xffffffff) | ||
40 | #endif | 37 | #endif |
41 | 38 | ||
42 | #endif | 39 | #endif |