diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/vuprintf.c | 3 | ||||
-rw-r--r-- | firmware/export/config.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/firmware/common/vuprintf.c b/firmware/common/vuprintf.c index 1c0adad00e..becb05e136 100644 --- a/firmware/common/vuprintf.c +++ b/firmware/common/vuprintf.c @@ -22,10 +22,11 @@ #include <sys/types.h> #include <limits.h> #include <string.h> +#include <stddef.h> #include "system.h" #include "vuprintf.h" -#if 0 +#if 1 /* turn everything on */ #define FMT_LENMOD (0xffffffff) #define FMT_RADIX (0xffffffff) diff --git a/firmware/export/config.h b/firmware/export/config.h index a4f0ea94fd..0d15ab6a33 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -973,7 +973,9 @@ Lyre prototype 1 */ || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) \ || defined(CPU_S5L870X) || (CONFIG_CPU == S3C2440) \ || defined(APPLICATION) || (CONFIG_CPU == PP5002) \ - || (CONFIG_CPU == RK27XX) || (CONFIG_CPU == IMX233) + || (CONFIG_CPU == RK27XX) || (CONFIG_CPU == IMX233) || \ + (defined(HAVE_LCD_COLOR) && \ + (!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))) #define HAVE_SEMAPHORE_OBJECTS #endif |