diff options
author | px4dev <px4@purgatory.org> | 2013-03-10 14:37:43 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-03-10 14:59:38 -0700 |
commit | de078b4525c3a7f34fc3955fb9fef3564f20d62a (patch) | |
tree | 4fe2a62c798125fb84cc002a64c851e6e4064405 | |
parent | 9a1a3ddaa193b89bfc343da15be03ec98060e1f3 (diff) | |
download | px4-firmware-de078b4525c3a7f34fc3955fb9fef3564f20d62a.tar.gz px4-firmware-de078b4525c3a7f34fc3955fb9fef3564f20d62a.tar.bz2 px4-firmware-de078b4525c3a7f34fc3955fb9fef3564f20d62a.zip |
Move the bson sample data out of the BSS, saves 256 bytes of RAM
-rw-r--r-- | apps/px4/tests/test_bson.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4/tests/test_bson.c b/apps/px4/tests/test_bson.c index a42c462ca..6130fe763 100644 --- a/apps/px4/tests/test_bson.c +++ b/apps/px4/tests/test_bson.c @@ -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 |