mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 03:49:52 +03:00
Allow longer toolsname on wide screens (#6805)
This commit is contained in:
parent
a7bec62dcf
commit
c60d3858d2
4 changed files with 11 additions and 8 deletions
|
@ -171,7 +171,12 @@ void registerBitmapClass(lua_State * L);
|
|||
void luaSetInstructionsLimit(lua_State* L, int count);
|
||||
int luaLoadScriptFileToState(lua_State * L, const char * filename, const char * mode);
|
||||
|
||||
#define TOOL_NAME_MAXLEN 16
|
||||
#if LCD_W > 350
|
||||
#define RADIO_TOOL_NAME_MAXLEN 40
|
||||
#else
|
||||
#define RADIO_TOOL_NAME_MAXLEN 16
|
||||
#endif
|
||||
|
||||
bool readToolName(char * toolName, const char * filename);
|
||||
bool isRadioScriptTool(const char * filename);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue