1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-14 03:49:52 +03:00

lua serialRead (#7520)

Lua serial read
This commit is contained in:
Tom van Dijk 2020-05-15 15:13:23 +02:00 committed by GitHub
parent 51f841d2af
commit 682f0f1b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 79 additions and 2 deletions

View file

@ -41,6 +41,11 @@ extern "C" {
#endif
#endif
#if !defined(CLI)
#define LUA_FIFO_SIZE 256
extern Fifo<uint8_t, LUA_FIFO_SIZE> * luaRxFifo;
#endif
extern lua_State * lsScripts;
extern lua_State * lsWidgets;
extern bool luaLcdAllowed;