garmin_parser: add a HRM profile message stub
This is an empty stub for the HRM profile message, which isn't actually used by anything I know of, but came up as a result of some mis-parsing of odd FIT files generated by the Suunto mobile app. Losing synchronization in the FIT file then caused the parser to think it needed this message type, and not having it then caused an early abort. While it's not actually needed once parsing things correctly, since I looked up the message number and name for this message type, let's just keep it around. It won't hurt, and maybe it avoids me having to look it up in the future. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
571df62ce5
commit
4aa70c9e2a
@ -880,6 +880,7 @@ DECLARE_MESG(DEVICE_SETTINGS) = {
|
||||
}
|
||||
};
|
||||
DECLARE_MESG(USER_PROFILE) = { };
|
||||
DECLARE_MESG(HRM_PROFILE) = { };
|
||||
DECLARE_MESG(ZONES_TARGET) = { };
|
||||
|
||||
DECLARE_MESG(SPORT) = {
|
||||
@ -1088,6 +1089,7 @@ static const struct {
|
||||
SET_MESG( 0, FILE),
|
||||
SET_MESG( 2, DEVICE_SETTINGS),
|
||||
SET_MESG( 3, USER_PROFILE),
|
||||
SET_MESG( 4, HRM_PROFILE),
|
||||
SET_MESG( 7, ZONES_TARGET),
|
||||
SET_MESG( 12, SPORT),
|
||||
SET_MESG( 13, WTF_13),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user