mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
lcd.backlightOn renamed to lcd.resetBacklightTimeout
This commit is contained in:
parent
f59e939463
commit
2873f7fd4d
1 changed files with 4 additions and 4 deletions
|
@ -63,13 +63,13 @@ static int luaLcdClear(lua_State *L)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*luadoc
|
/*luadoc
|
||||||
@function lcd.backlightOn()
|
@function lcd.resetBacklightTimeout()
|
||||||
|
|
||||||
Switches backlight on
|
Reset the backlight timeout
|
||||||
|
|
||||||
@status current Introduced in 2.3.6
|
@status current Introduced in 2.3.6
|
||||||
*/
|
*/
|
||||||
static int luaLcdBacklightOn(lua_State *L)
|
static int luaLcdResetBacklightTimeout(lua_State * L)
|
||||||
{
|
{
|
||||||
if (!luaLcdAllowed) return 0;
|
if (!luaLcdAllowed) return 0;
|
||||||
backlightOn();
|
backlightOn();
|
||||||
|
@ -875,7 +875,7 @@ static int luaRGB(lua_State *L)
|
||||||
const luaL_Reg lcdLib[] = {
|
const luaL_Reg lcdLib[] = {
|
||||||
{ "refresh", luaLcdRefresh },
|
{ "refresh", luaLcdRefresh },
|
||||||
{ "clear", luaLcdClear },
|
{ "clear", luaLcdClear },
|
||||||
{ "backlightOn", luaLcdBacklightOn },
|
{ "resetBacklightTimeout", luaLcdResetBacklightTimeout },
|
||||||
{ "drawPoint", luaLcdDrawPoint },
|
{ "drawPoint", luaLcdDrawPoint },
|
||||||
{ "drawLine", luaLcdDrawLine },
|
{ "drawLine", luaLcdDrawLine },
|
||||||
{ "drawRectangle", luaLcdDrawRectangle },
|
{ "drawRectangle", luaLcdDrawRectangle },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue