Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Sample averaging change led to TM corruption #5

Description

@MisterMartin

Commit 789346b made the following changes in StratoLPC.h:

int Set_numberSamples = 150;        
int Set_samplesToAverage = 5; 

became:

int Set_numberSamples = 90;        
int Set_samplesToAverage = 1; 

This caused the TM message to be corrupted. Changing Set_samplesToAverage to 2 made the TM readable again (see 9fd2b4a).

I suspect the issue is either in the logic which is evaluating the frame counter, or in the hardwired array size of 300 for BinData[32][300] and HKData[16][300].

The TM message size was also greater than the max allowable of 8k.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions