summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/midi/midi_device.h
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/midi_device.h
parent48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff)
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
Diffstat (limited to 'tmk_core/protocol/midi/midi_device.h')
-rw-r--r--tmk_core/protocol/midi/midi_device.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tmk_core/protocol/midi/midi_device.h b/tmk_core/protocol/midi/midi_device.h
index 693d81a8e2..79e8f7a936 100644
--- a/tmk_core/protocol/midi/midi_device.h
+++ b/tmk_core/protocol/midi/midi_device.h
@@ -21,8 +21,7 @@
* @brief Device implementation functions
*/
-#ifndef MIDI_DEVICE_H
-#define MIDI_DEVICE_H
+#pragma once
#ifdef __cplusplus
extern "C" {
@@ -147,5 +146,3 @@ void midi_device_set_pre_input_process_func(MidiDevice* device, midi_no_byte_fun
#ifdef __cplusplus
}
#endif
-
-#endif