MSVC errors

This commit is contained in:
Bertrand Songis
2016-03-05 08:59:28 +01:00
parent 15912854e8
commit 863272bc52
2 changed files with 11 additions and 2 deletions
+3
View File
@@ -272,7 +272,10 @@ void processSportPacket(uint8_t * packet)
else if (id >= DIY_FIRST_ID && id <= DIY_LAST_ID) {
#if defined(LUA)
if (luaInputTelemetryFifo) {
#if defined __GNUC__
// TODO remove this ifdef when we have updated to MSVC recent version
luaInputTelemetryFifo->push((LuaTelemetryValue){(uint8_t)id, data});
#endif
}
#endif
}