mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 20:35:17 +03:00
Re #3485: variable type fix
This commit is contained in:
parent
0ec122f519
commit
06d9ec846d
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ static int luaLcdDrawRectangle(lua_State *L)
|
||||||
int h = luaL_checkinteger(L, 4);
|
int h = luaL_checkinteger(L, 4);
|
||||||
unsigned int flags = luaL_optunsigned(L, 5, 0);
|
unsigned int flags = luaL_optunsigned(L, 5, 0);
|
||||||
#if defined(PCBHORUS)
|
#if defined(PCBHORUS)
|
||||||
int t = luaL_optunsigned(L, 6, 1);
|
unsigned int t = luaL_optunsigned(L, 6, 1);
|
||||||
lcdDrawRect(x, y, w, h, t, 0xff, flags);
|
lcdDrawRect(x, y, w, h, t, 0xff, flags);
|
||||||
#else
|
#else
|
||||||
lcdDrawRect(x, y, w, h, 0xff, flags);
|
lcdDrawRect(x, y, w, h, 0xff, flags);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue