1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 20:35:17 +03:00

MSVC errors

This commit is contained in:
Bertrand Songis 2016-03-05 09:58:38 +01:00
parent 863272bc52
commit 0c5f5695cc

View file

@ -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;
}