diff options
Diffstat (limited to 'nuttx/graphics/nxfonts')
-rw-r--r-- | nuttx/graphics/nxfonts/nxfonts_convert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/graphics/nxfonts/nxfonts_convert.c b/nuttx/graphics/nxfonts/nxfonts_convert.c index 852c9e5af..f58add4c6 100644 --- a/nuttx/graphics/nxfonts/nxfonts_convert.c +++ b/nuttx/graphics/nxfonts/nxfonts_convert.c @@ -191,7 +191,7 @@ int NXF_FUNCNAME(nxf_convert,NXFONTS_SUFFIX) col = 0; dptr = (FAR NXF_PIXEL_T*)line; pixel = *dptr; -#ifdef CONFIG_NXF_PACKEDMSFIRST +#ifdef CONFIG_NX_PACKEDMSFIRST mask = NXF_PIXELMASK << (8 - NXFONTS_BITSPERPIXEL); #else mask = NXF_PIXELMASK; @@ -215,7 +215,7 @@ int NXF_FUNCNAME(nxf_convert,NXFONTS_SUFFIX) pixel = ((pixel & ~mask) | (mpixel & mask)); } -#ifdef CONFIG_NXF_PACKEDMSFIRST +#ifdef CONFIG_NX_PACKEDMSFIRST mask >>= NXFONTS_BITSPERPIXEL; #else mask <<= NXFONTS_BITSPERPIXEL; @@ -277,4 +277,4 @@ int NXF_FUNCNAME(nxf_convert,NXFONTS_SUFFIX) } #endif return bm->metric.width + bm->metric.xoffset; -}
\ No newline at end of file +} |