Move the bson sample data out of the BSS, saves 256 bytes of RAM

This commit is contained in:
px4dev 2013-03-10 14:37:43 -07:00
parent 9a1a3ddaa1
commit de078b4525
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ static const int32_t sample_small_int = 123;
static const int64_t sample_big_int = (int64_t)INT_MAX + 123LL;
static const double sample_double = 2.5f;
static const char *sample_string = "this is a test";
static const uint8_t sample_data[256];
static const uint8_t sample_data[256] = {0};
//static const char *sample_filename = "/fs/microsd/bson.test";
static int