diff --git a/include/mav/Message.h b/include/mav/Message.h index d458468..e2e1944 100644 --- a/include/mav/Message.h +++ b/include/mav/Message.h @@ -82,7 +82,10 @@ namespace mav { int _crc_offset = -1; explicit Message(const MessageDefinition &message_definition) : - _message_definition(&message_definition) { + _source_partner({}), + _backing_memory({}), + _message_definition(&message_definition), + _crc_offset(-1) { } Message(const MessageDefinition &message_definition, ConnectionPartner source_partner, int crc_offset, diff --git a/include/mav/utils.h b/include/mav/utils.h index f18a39e..ffd3d57 100644 --- a/include/mav/utils.h +++ b/include/mav/utils.h @@ -32,6 +32,7 @@ * ****************************************************************************/ +#include #include #include #include