Re #1486: gtest improvements in Lua section

This commit is contained in:
Damjan Adamic
2014-07-22 11:39:36 +02:00
parent fa8c8a7094
commit 2712ffabb0
2 changed files with 36 additions and 3 deletions
+10
View File
@@ -40,6 +40,16 @@
#define SWAP_DEFINED
#include "opentx.h"
static char _zchar2stringResult[200];
const char * zchar2string(const char * zstring, int size)
{
if (size > (int)sizeof(_zchar2stringResult) ) {
return 0;
}
zchar2str(_zchar2stringResult, zstring, size);
return _zchar2stringResult;
}
#if !defined(PCBSKY9X)
TEST(EEPROM, 100_random_writes)
{