forked from Archive/PX4-Autopilot
Move the bson sample data out of the BSS, saves 256 bytes of RAM
This commit is contained in:
parent
9a1a3ddaa1
commit
de078b4525
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue