1
0
Fork 0

Change keyboard level include guards to pragma once (#14248)

* Change keyboard level include guards to `pragma once`

And clean up a lot of layout macros

* Oops

* Remove dangling endif
This commit is contained in:
Ryan 2021-09-01 19:03:14 +10:00 committed by GitHub
parent 971d36bb9e
commit 41c50bb653
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
308 changed files with 3520 additions and 4568 deletions

View file

@ -13,17 +13,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PINKY_H
#define PINKY_H
#pragma once
#include "quantum.h"
#ifdef KEYBOARD_pinky_3
#include "3.h"
#endif
#ifdef KEYBOARD_pinky_4
#include "4.h"
#endif
#if defined(KEYBOARD_pinky_3)
# include "3.h"
#elif defined(KEYBOARD_pinky_4)
# include "4.h"
#endif