ExpressLRS / Handset

Handset Development
GNU General Public License v3.0
31 stars 7 forks source link

Split up config.h #2

Closed JBKingdon closed 3 years ago

JBKingdon commented 3 years ago

Split up config.h so that handset specific config is in separate files from user preferences and implementation constants.

JBKingdon commented 3 years ago

Had a go at this with https://github.com/ExpressLRS/Handset/commit/cad4987a185533ca483f41d65337de1a4c0296cb

The settings that are most likely to be changed for each user/handset are moved into user_config.h which is not under version control. An example is provided as user_config_template.txt which the user should copy to user_config.h and edit for their own preferences and hardware. This way, when updating firmware by pulling from git the user config won't get overwritten.