mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 00:35:20 +03:00
Frequency analyzer for MSP frames
This commit is contained in:
parent
d1483e5e26
commit
2c334f6c23
3 changed files with 83 additions and 0 deletions
|
@ -114,6 +114,11 @@ var MSP = {
|
|||
bufView,
|
||||
i;
|
||||
|
||||
/*
|
||||
* For debug reasons, check how ofter MSP frames are executed
|
||||
*/
|
||||
helper.eventFrequencyAnalyzer.put(code);
|
||||
|
||||
// always reserve 6 bytes for protocol overhead !
|
||||
if (data) {
|
||||
var size = data.length + 6,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue