diff --git a/components/modules/u8g2.c b/components/modules/u8g2.c index fbc41e69e0..3af68e685b 100644 --- a/components/modules/u8g2.c +++ b/components/modules/u8g2.c @@ -802,7 +802,7 @@ U8G2_DISPLAY_TABLE_SPI #undef U8G2_FONT_TABLE_ENTRY #undef U8G2_DISPLAY_TABLE_ENTRY #define U8G2_DISPLAY_TABLE_ENTRY(function, binding) \ - LROT_FUNCENTRY( #binding, l ## binding ) + LROT_FUNCENTRY( binding, l ## binding ) LROT_BEGIN(lu8g2) U8G2_DISPLAY_TABLE_I2C @@ -810,7 +810,7 @@ LROT_BEGIN(lu8g2) // // Register fonts #define U8G2_FONT_TABLE_ENTRY(font) \ - LROT_LUDENTRY( #font, (void *)(u8g2_ ## font) ) + LROT_LUDENTRY( font, (void *)(u8g2_ ## font) ) U8G2_FONT_TABLE // LROT_NUMENTRY( DRAW_UPPER_RIGHT, U8G2_DRAW_UPPER_RIGHT ) diff --git a/components/modules/ucg.c b/components/modules/ucg.c index 28d27e42af..da1d76f647 100644 --- a/components/modules/ucg.c +++ b/components/modules/ucg.c @@ -734,12 +734,12 @@ LROT_END(lucg_display, NULL, 0) LROT_BEGIN(lucg) #undef UCG_DISPLAY_TABLE_ENTRY -#define UCG_DISPLAY_TABLE_ENTRY(binding, device, extension) LROT_FUNCENTRY( #binding, l ## binding ) +#define UCG_DISPLAY_TABLE_ENTRY(binding, device, extension) LROT_FUNCENTRY( binding, l ## binding ) UCG_DISPLAY_TABLE // Register fonts #undef UCG_FONT_TABLE_ENTRY -#define UCG_FONT_TABLE_ENTRY(font) LROT_LUDENTRY( #font, (void *)(ucg_ ## font) ) +#define UCG_FONT_TABLE_ENTRY(font) LROT_LUDENTRY( font, (void *)(ucg_ ## font) ) UCG_FONT_TABLE // Font modes