aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/midi/bytequeue
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-26 15:56:11 +1100
committerGitHub <noreply@github.com>2020-12-26 15:56:11 +1100
commit1d1d5da43f86d9dded47c66afec94991d623f114 (patch)
tree5f0d4d303a1f5dd67a3d9a19b0f99b8e3f06a4e6 /tmk_core/protocol/midi/bytequeue
parent48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff)
downloadqmk_firmware-1d1d5da43f86d9dded47c66afec94991d623f114.tar.gz
qmk_firmware-1d1d5da43f86d9dded47c66afec94991d623f114.zip
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
Diffstat (limited to 'tmk_core/protocol/midi/bytequeue')
-rw-r--r--tmk_core/protocol/midi/bytequeue/bytequeue.h5
-rw-r--r--tmk_core/protocol/midi/bytequeue/interrupt_setting.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/tmk_core/protocol/midi/bytequeue/bytequeue.h b/tmk_core/protocol/midi/bytequeue/bytequeue.h
index 33fb63a8c..29d15abbd 100644
--- a/tmk_core/protocol/midi/bytequeue/bytequeue.h
+++ b/tmk_core/protocol/midi/bytequeue/bytequeue.h
@@ -17,8 +17,7 @@
17// You should have received a copy of the GNU General Public License 17// You should have received a copy of the GNU General Public License
18// along with avr-bytequeue. If not, see <http://www.gnu.org/licenses/>. 18// along with avr-bytequeue. If not, see <http://www.gnu.org/licenses/>.
19 19
20#ifndef BYTEQUEUE_H 20#pragma once
21#define BYTEQUEUE_H
22 21
23#ifdef __cplusplus 22#ifdef __cplusplus
24extern "C" { 23extern "C" {
@@ -54,5 +53,3 @@ void bytequeue_remove(byteQueue_t* queue, byteQueueIndex_t numToRemove);
54#ifdef __cplusplus 53#ifdef __cplusplus
55} 54}
56#endif 55#endif
57
58#endif
diff --git a/tmk_core/protocol/midi/bytequeue/interrupt_setting.h b/tmk_core/protocol/midi/bytequeue/interrupt_setting.h
index 788f75d79..78294f076 100644
--- a/tmk_core/protocol/midi/bytequeue/interrupt_setting.h
+++ b/tmk_core/protocol/midi/bytequeue/interrupt_setting.h
@@ -16,8 +16,7 @@
16// You should have received a copy of the GNU General Public License 16// You should have received a copy of the GNU General Public License
17// along with avr-bytequeue. If not, see <http://www.gnu.org/licenses/>. 17// along with avr-bytequeue. If not, see <http://www.gnu.org/licenses/>.
18 18
19#ifndef INTERRUPT_SETTING_H 19#pragma once
20#define INTERRUPT_SETTING_H
21 20
22#ifdef __cplusplus 21#ifdef __cplusplus
23extern "C" { 22extern "C" {
@@ -34,5 +33,3 @@ void restore_interrupt_setting(interrupt_setting_t setting);
34#ifdef __cplusplus 33#ifdef __cplusplus
35} 34}
36#endif 35#endif
37
38#endif