1
0
Fork 0
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:
mikeller 2019-02-21 01:49:09 +13:00
parent 5cbdd51bf4
commit 541ba7072f
2 changed files with 173 additions and 13 deletions

25
src/utils/def_generated.pl Normal file → Executable file
View 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