Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLEX: flex_groupmessage moved into for, as it seems that it needs to be determined per page #223

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions demod_flex.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
* Boston, MA 02110-1301, USA.
*/
/*
* Modification made by Ramon Smits ([email protected])
* Modifications made by Ramon Smits ([email protected])
* - PR #223 Method `decode_phase` field `flex_groupmessage` moved into for, as it seems that it needs to be determined per page
* - PR #222 Suppress timestamp with argument `--flex-no-ts` which is useful when comparing output of this and future versions based on the same input file
* Modification made by Ramon Smits ([email protected])
* - PR #221 Estimate the total offset based on the estimated passed full cycles
* Modification made by bierviltje and implemented by Bruce Quinton ([email protected])
* - Issue #123 created by bierviltje (https://github.com/bierviltje) - Feature request: FLEX: put group messages in an array/list
Expand Down Expand Up @@ -860,10 +860,11 @@ static void decode_phase(struct Flex * flex, char PhaseNo) {

verbprintf(3, "FLEX: BlockInfoWord: (Phase %c) BIW:%08X AW:%02i-%02i (%i pages)\n", PhaseNo, biw, aoffset, voffset, voffset-aoffset);

int flex_groupmessage = 0;

// Iterate through pages and dispatch to appropriate handler
for (i = aoffset; i < voffset; i++) {
int flex_groupmessage = 0;

j = voffset+i-aoffset; // Start of vector field for address @ i

if (phaseptr[i] == 0x00000000 ||
Expand Down