mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Updated styling of file to be generated, generated the file.
This commit is contained in:
parent
5cbdd51bf4
commit
541ba7072f
2 changed files with 173 additions and 13 deletions
25
src/utils/def_generated.pl
Normal file → Executable file
25
src/utils/def_generated.pl
Normal file → Executable file
|
@ -16,20 +16,23 @@ $" = "\n";
|
|||
|
||||
chomp(my $license = <<"END");
|
||||
/*
|
||||
* This file is part of Cleanflight.
|
||||
* This file is part of Cleanflight and Betaflight.
|
||||
*
|
||||
* Cleanflight is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
* Cleanflight and Betaflight are free software. You can redistribute
|
||||
* this software and/or modify this software under the terms of the
|
||||
* GNU General Public License as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* Cleanflight is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
* Cleanflight and Betaflight are distributed in the hope that they
|
||||
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
||||
* along with this software.
|
||||
*
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
END
|
||||
|
||||
|
@ -112,7 +115,6 @@ END2
|
|||
# define DEFIO_PORT_USED_LIST /* empty */
|
||||
# define DEFIO_PORT_OFFSET_LIST /* empty */
|
||||
#endif
|
||||
|
||||
END
|
||||
|
||||
exit; # only IO code is merged now
|
||||
|
@ -183,4 +185,3 @@ END2
|
|||
NULL // terminate the list
|
||||
};
|
||||
END
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue