discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-Trellis FSM


From: Chris Valenta
Subject: Re: [Discuss-gnuradio] gr-Trellis FSM
Date: Mon, 2 Apr 2012 09:22:07 -0700 (PDT)

Yep, this fixed the problem. Successfully ran the FSM for 20,000+ times without an error.

Thanks for the fix!

-Chris

--- On Sat, 3/31/12, Achilleas Anastasopoulos <address@hidden> wrote:

From: Achilleas Anastasopoulos <address@hidden>
Subject: Re: [Discuss-gnuradio] gr-Trellis FSM
To: "address@hidden" <address@hidden>
Cc: address@hidden
Date: Saturday, March 31, 2012, 12:20 PM

great catch!

It appears that in the constructor we (ie, I) forgot to close the file...

I will submit a patch ASAP, but in the meantime, please add

fclose(fsmfile);

just before

  generate_PS_PI();
  generate_TM();

in the fsm constructor fsm::fsm(const char *name)
in gr-trellis/src/lib/fsm.cc

remake reinstall and test.

Please let us know if this fixes your problem.

Achilleas

reply via email to

[Prev in Thread] Current Thread [Next in Thread]