mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 20:35:17 +03:00
MSVC errors
This commit is contained in:
parent
863272bc52
commit
0c5f5695cc
1 changed files with 4 additions and 0 deletions
|
@ -357,7 +357,11 @@ static int luaTelemetryPush(lua_State *L)
|
|||
uint8_t id = luaL_checkunsigned(L, 1);
|
||||
uint32_t value = luaL_checkunsigned(L, 2);
|
||||
|
||||
#if defined __GNUC__
|
||||
// TODO remove this ifdef when we have updated to MSVC recent version
|
||||
luaOutputTelemetryFifo->push((LuaTelemetryValue){ id, value });
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue