This commit is contained in:
Damjan Adamic
2014-05-11 15:06:02 +02:00
parent cfd4aa73a0
commit 533000ddcd
17 changed files with 70 additions and 2 deletions
@@ -273,6 +273,13 @@ unsigned int OpentxTaranisSimulator::getPhase()
return getFlightPhase();
}
const char * OpentxTaranisSimulator::getPhaseName(unsigned int phase)
{
static char buff[sizeof(g_model.phaseData[0].name)+1];
zchar2str(buff, g_model.phaseData[phase].name, sizeof(g_model.phaseData[0].name));
return buff;
}
const char * OpentxTaranisSimulator::getError()
{
#define GETERROR_IMPORT