diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-13 01:10:05 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-13 01:10:05 -0700 |
commit | 178a3e8567b3e721771fffcb8f32df140ad1038b (patch) | |
tree | d0489f2cca40fd101db853596315443654f1ca72 /src/modules/mavlink/mavlink_main.cpp | |
parent | 634157210c6181f02bebfa3f43c64cf40694ab2a (diff) | |
parent | f10395e05a9fc11b36f70f6a9d864e83b6eadc01 (diff) | |
download | px4-firmware-178a3e8567b3e721771fffcb8f32df140ad1038b.tar.gz px4-firmware-178a3e8567b3e721771fffcb8f32df140ad1038b.tar.bz2 px4-firmware-178a3e8567b3e721771fffcb8f32df140ad1038b.zip |
Merge pull request #927 from PX4/ram_cleanup
Ram cleanup
Diffstat (limited to 'src/modules/mavlink/mavlink_main.cpp')
-rw-r--r-- | src/modules/mavlink/mavlink_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index 833de5a3d..dd88b0949 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -727,9 +727,9 @@ int Mavlink::mavlink_pm_send_param(param_t param) if (param == PARAM_INVALID) { return 1; } /* buffers for param transmission */ - static char name_buf[MAVLINK_MSG_PARAM_VALUE_FIELD_PARAM_ID_LEN]; + char name_buf[MAVLINK_MSG_PARAM_VALUE_FIELD_PARAM_ID_LEN]; float val_buf; - static mavlink_message_t tx_msg; + mavlink_message_t tx_msg; /* query parameter type */ param_type_t type = param_type(param); |