Xerbo / LeanHRPT-Decode

An easy to use HRPT decoder.
GNU General Public License v3.0
83 stars 11 forks source link

[QUESTION] How do I add new composites? #8

Closed zeke800 closed 2 years ago

zeke800 commented 2 years ago

Hi! I just made a few composites with the new sensors available... how would I add them to the software? I have an updated 'presets.ini' file and would like to add it to the main repository.

Thanks!

Xerbo commented 2 years ago

Create a fork of this repository, add your fixes/additions as usual. And then commit onto a new branch:

image

After that open a pull request and you are all done.

zeke800 commented 2 years ago

Thanks! But how do I insert it into the default presets.ini file?

Xerbo commented 2 years ago

Could you please clarify what you mean?

zeke800 commented 2 years ago

I mean that there is no 'presets.ini' in the repository. It is (as far as I understand) created at compile time and is then filled with the needed contents. How do I alter those contents with my new presets?

zeke800 commented 2 years ago

Actually, never mind. I just noticed it's there! XD