This commit is contained in:
kraus 2021-12-20 15:07:05 +01:00
parent 37f32b12ad
commit 61c71b28b1
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}