From a21bb4c2de773acd684d7c4981e4a32da4631f2c Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Tue, 9 Sep 2014 18:57:58 +0200 Subject: [PATCH] gps_venus: add missing attribute in m_output message struct --- imuboard/gps_venus.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/imuboard/gps_venus.c b/imuboard/gps_venus.c index 1570912..7470858 100644 --- a/imuboard/gps_venus.c +++ b/imuboard/gps_venus.c @@ -123,6 +123,10 @@ typedef struct { 01 = nmea output 02 = binary output */ + uint8_t attributes; /* + 0 - update ram + 1 - update ram & flash + */ } m_output_t; @@ -225,6 +229,7 @@ void venus634_msg_type(void) memset(&output,0,sizeof(m_output_t)); output.msg_type = 0x02; /* binary msg */ + output.attributes = 0; /* ram, init may freeze when update in flash */ venus634_send(M_OUTPUT,&output,sizeof(m_output_t)); -- 2.39.5