MSVC errors

This commit is contained in:
Bertrand Songis
2016-03-05 09:58:38 +01:00
parent 863272bc52
commit 0c5f5695cc
+4
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;
}