diff options
author | fauxpark <fauxpark@gmail.com> | 2019-10-10 21:48:37 +1100 |
---|---|---|
committer | Joel Challis <git@zvecr.com> | 2019-10-10 11:48:37 +0100 |
commit | ed1bf3afa25d7e7674df7e8618dfaf243de3058b (patch) | |
tree | cfe0e4331b8f00d09706dd0aaa8fef2cac3f61d7 /quantum/template/avr/config.h | |
parent | 528ddb79871b76d026c4b2ca8b1debf9feb1e751 (diff) | |
download | qmk_firmware-ed1bf3afa25d7e7674df7e8618dfaf243de3058b.tar.gz |
Prevent clang-format messing up placeholder tokens within keyboard templates (#6790)
* Use .template file extension for keyboard template files
* Filter out .template files completely before passing to clang-format
* Undo file extension stuff; just ignore quantum/template dir
Diffstat (limited to 'quantum/template/avr/config.h')
-rw-r--r-- | quantum/template/avr/config.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h index 713d6be3a..304a54ae5 100644 --- a/quantum/template/avr/config.h +++ b/quantum/template/avr/config.h @@ -23,8 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x0000 #define DEVICE_VER 0x0001 -#define MANUFACTURER % YOUR_NAME % -#define PRODUCT % KEYBOARD % +#define MANUFACTURER %YOUR_NAME% +#define PRODUCT %KEYBOARD% #define DESCRIPTION A custom keyboard /* key matrix size */ @@ -41,10 +41,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) * */ -#define MATRIX_ROW_PINS \ - { D0, D5 } -#define MATRIX_COL_PINS \ - { F1, F0, B0 } +#define MATRIX_ROW_PINS { D0, D5 } +#define MATRIX_COL_PINS { F1, F0, B0 } #define UNUSED_PINS /* COL2ROW, ROW2COL*/ |