Skip to content

Commit

Permalink
Merge pull request #223 from ramonsmits/flex-reset-group-message-flag…
Browse files Browse the repository at this point in the history
…-per-page

FLEX: flex_groupmessage moved into for, as it seems that it needs to be determined per page
  • Loading branch information
EliasOenal authored Sep 20, 2024
2 parents 9eff57f + 4dc14b5 commit c8feac4
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 (ramon@ramonsmits.com)
* Modifications made by Ramon Smits (ramon@ramonsmits.com)
* - 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 (ramon@ramonsmits.com)
* - PR #221 Estimate the total offset based on the estimated passed full cycles
* Modification made by bierviltje and implemented by Bruce Quinton (Zanoroy@gmail.com)
* - 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 c8feac4

Please sign in to comment.