issue #1731
This commit is contained in:
parent
37f32b12ad
commit
61c71b28b1
|
@ -1186,7 +1186,8 @@ static void u8g2_GetGlyphHorizontalProperties(u8g2_t *u8g2, uint16_t requested_e
|
|||
int8_t u8g2_GetStrX(u8g2_t *u8g2, const char *s)
|
||||
{
|
||||
uint8_t w;
|
||||
int8_t ox, dx;
|
||||
int8_t dx;
|
||||
int8_t ox = 0;
|
||||
u8g2_GetGlyphHorizontalProperties(u8g2, *s, &w, &ox, &dx);
|
||||
return ox;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue