summaryrefslogtreecommitdiff
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)
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 33fb63a8cb..29d15abbd3 100644
--- a/tmk_core/protocol/midi/bytequeue/bytequeue.h
+++ b/tmk_core/protocol/midi/bytequeue/bytequeue.h
@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with avr-bytequeue. If not, see <http://www.gnu.org/licenses/>.
-#ifndef BYTEQUEUE_H
-#define BYTEQUEUE_H
+#pragma once
#ifdef __cplusplus
extern "C" {
@@ -54,5 +53,3 @@ void bytequeue_remove(byteQueue_t* queue, byteQueueIndex_t numToRemove);
#ifdef __cplusplus
}
#endif
-
-#endif
diff --git a/tmk_core/protocol/midi/bytequeue/interrupt_setting.h b/tmk_core/protocol/midi/bytequeue/interrupt_setting.h
index 788f75d79f..78294f0765 100644
--- a/tmk_core/protocol/midi/bytequeue/interrupt_setting.h
+++ b/tmk_core/protocol/midi/bytequeue/interrupt_setting.h
@@ -16,8 +16,7 @@
// You should have received a copy of the GNU General Public License
// along with avr-bytequeue. If not, see <http://www.gnu.org/licenses/>.
-#ifndef INTERRUPT_SETTING_H
-#define INTERRUPT_SETTING_H
+#pragma once
#ifdef __cplusplus
extern "C" {
@@ -34,5 +33,3 @@ void restore_interrupt_setting(interrupt_setting_t setting);
#ifdef __cplusplus
}
#endif
-
-#endif