Page 1 of 1

Development help

Posted: Sat Jan 18, 2020 4:55 pm
by ea3ihi
Hello, is there a place where developers can ask for help or advise?

I am lost with the lack of DMR audio problem in my new channel scan code. I have removed most of the code, so the scanning does actually nothing but still there is no audio. I have reached a point where doing a simple assignment to an dummy integer variable not used makes a difference, if I comment out the line then audio works fine. Maybe a compiler/linker problem?

David

Re: Development help

Posted: Sat Jan 18, 2020 9:09 pm
by VK3KYY
There is no specific place for this as there are only a few devs.

Re: Development help

Posted: Sat Jan 18, 2020 10:19 pm
by VK3KYY
ea3ihi wrote:
Sat Jan 18, 2020 4:55 pm
Hello, is there a place where developers can ask for help or advise?

I am lost with the lack of DMR audio problem in my new channel scan code. I have removed most of the code, so the scanning does actually nothing but still there is no audio. I have reached a point where doing a simple assignment to an dummy integer variable not used makes a difference, if I comment out the line then audio works fine. Maybe a compiler/linker problem?

David
Create a new local branch for your changes, and then push that branch back to github, so that other people can take a look at the problem

Re: Development help

Posted: Mon Jan 20, 2020 10:48 am
by ea3ihi

Re: Development help

Posted: Mon Jan 20, 2020 9:41 pm
by VK3KYY
FYI

I changed the .cproject file.

fw_sound.c is no longer optimised. This should fix your problem, without needing to turn off optimisation on lots of files, like in the version from the 14th Jan.

Re: Development help

Posted: Tue Jan 21, 2020 6:22 pm
by ea3ihi
Done, .cproject updated and audio working! Should I create a pull request with my update to the scan code? Publish the version in the custom builds section so people can try it?

Re: Development help

Posted: Tue Jan 21, 2020 9:44 pm
by VK3KYY
Doing a PR is good because the other developers can then check your code, if they have time...

But you can also put the firmware sgl on the forum for people to test as an experimental version

Re: Development help

Posted: Wed Jan 22, 2020 9:07 am
by ea3ihi
Done, PR created and build available in the custom builds section.