Skip to content

Commit

Permalink
flex_groupmessage moved into for, as it seems that it needs to be det…
Browse files Browse the repository at this point in the history
…ermined per page
  • Loading branch information
ramonsmits committed Sep 15, 2024
1 parent 9eff57f commit 4dc14b5
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit 4dc14b5

Please sign in to comment.