]> git.donarmstrong.com Git - qmk_firmware.git/commit
Fix parentheses in macros, and in general clean up quantum.h (#5021)
authorKonstantin Đorđević <vomindoraan@gmail.com>
Tue, 9 Jul 2019 18:16:24 +0000 (20:16 +0200)
committerDrashna Jaelre <drashna@live.com>
Tue, 9 Jul 2019 18:16:24 +0000 (11:16 -0700)
commitc69060465ea1ce4f77fb69e2dea7cb035f89ba4e
treea6048ea8ce05f2d872a78f27c33b90f66a4d60a8
parent37be1cb5130c5c9d93175bdd40176a84e8fe3a76
Fix parentheses in macros, and in general clean up quantum.h (#5021)

* Fix up GPIO macros

* Fix up send string macros

`string` arguments must not be parenthesized

* Fix up miscellaneous macros

* Make indentation uniform (4 spaces)

* Make #ifdef vs #if defined usage consistent

* Reorder standard includes

* Revert indentation changes as per review comments

* Revert #if defined(__AVR__) → #ifdef __AVR__ change

* Change 2 space indent to 4 spaces on a couple of lines

* Replace include guard with #pragma once
quantum/quantum.h