summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/midi/midi_device.h
diff options
context:
space:
mode:
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