-
Notifications
You must be signed in to change notification settings - Fork 68
Cleanup all source files #343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Board and firmware folder for this pull request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change all
#if defined(MF_OUTPUT_SHIFTER_SUPPORT)
to
#ifdef MF_OUTPUT_SHIFTER_SUPPORT
Find: #if\s*defined\s*\(\s*([A-Za-z0-9_]+)\s*\)
Replace #ifdef $1 or #ifdef \1
|
Board and firmware folder for this pull request: |
|
Board and firmware folder for this pull request: |
|
Board and firmware folder for this pull request: |
Description of changes
This is a major PR but it has only editorial changes. Functionality is not changed, tested by compiling this branch and the main branch. For all boards the hex size hasn't changed.
mobiflight.hwhich included severall more.hfiles. For most files, all include files are not required. Somobiflight.his deleted and in each other file only the required include files are included.MF_Boards.hfor each board andplatformio.ini. With this PR all board definitions are moved toplatformio.iniand allMF_Boards.hfiles are deleted. Allboard.jsonfiles andreset.hexfiles are now in one folder. Therefore thecopy_fw_files.pyis also adapted.ifdefandif defined()is commonly changed toif defined().