¿ªÔÆÌåÓý

Re: KBD on v3 screen


 

On Mon, Jan 15, 2024 at 09:45 PM, Ashhar Farhan wrote:
The init_waterfall is called just once at the beginning of the
program. it doesn't get called repeatedly at all.
I'm sorry but that does not match observations.

We know the error message comes from init_waterfall() long after we start the radio and see the initial waterfall so we know it gets called more than once.

I put in a print statement and can see it gets called every time you switch modes, with height set to 200 or 255 depending on mode.?

This is because some modes i.e. FT8 have one row of buttons on the bottom whereas others i.e. CW have two rows of buttons.

This means the waterfall height changes which the code deals with by allocating a new waterfall buffer.

It appears that the waterfall buffer is freed correctly, my guess is some other structure is being leaked, but I haven't confirmed either of these things.

the rtty, psk31
modes are dud in v3, instead, you should use DIGITAL and switch to the
fldigit screen and use RTT/OLIVIA/et al from the fldigi screen. I will
remove the PSK31/RTTY on gtk from the next release.
That's good to know.
?
--
Regards,
Dave, N1AI

Join [email protected] to automatically receive all group messages.