chore(color): Cleanup bitmap code (#4319)

This commit is contained in:
philmoz
2023-11-17 10:36:05 +10:00
committed by GitHub
parent b1ad3ad771
commit b0e43e09ea
6 changed files with 56 additions and 252 deletions
+1 -1
View File
@@ -408,7 +408,7 @@ static int luaLcdDrawNumber(lua_State *L)
char s[49];
int val = luaL_checkinteger(L, 3);
LcdFlags flags = luaL_optunsigned(L, 4, 0);
BitmapBuffer::formatNumberAsString(s, 49, val, flags & 0xFFFF);
formatNumberAsString(s, 49, val, flags & 0xFFFF);
drawString(L, s, flags);
return 0;
}