mavlink/qgroundcontrol — pull request #45 by TobiasSimon (2012-02-18 15:04:24+00:00)
Title: Message Inspector displayed always 0 Hz for Heartbeat

symptom: heartbeat Hz value was always 0
cause: check for null pointer had no effect (static memory) and thus, not filled messages in array were interpreted as heartbeat, dropping the Hz value always to 0
solution: fill mavlink messages (and thus) message type with 0xff and check against this value. this patch assumes that message ID 0xff is never used
positiv side effect: qgroundcontrol uses 2% less cpu on my machine (eeepc)