mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-09 12:11:35 +08:00
tfmini : restructure parsing logic to always publish latest measurement
This commit is contained in:
committed by
Lorenz Meier
parent
3afa018954
commit
38bae7d401
@@ -63,7 +63,7 @@ const char *parser_state[] = {
|
||||
};
|
||||
#endif
|
||||
|
||||
int tfmini_parser(char c, char *parserbuf, unsigned *parserbuf_index, enum TFMINI_PARSE_STATE *state, float *dist)
|
||||
int tfmini_parse(char c, char *parserbuf, unsigned *parserbuf_index, enum TFMINI_PARSE_STATE *state, float *dist)
|
||||
{
|
||||
int ret = -1;
|
||||
//char *end;
|
||||
|
||||
Reference in New Issue
Block a user