aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/midi
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/midi')
-rw-r--r--tmk_core/protocol/midi/Config/LUFAConfig.h4
-rw-r--r--tmk_core/protocol/midi/bytequeue/bytequeue.h5
-rw-r--r--tmk_core/protocol/midi/bytequeue/interrupt_setting.h5
-rw-r--r--tmk_core/protocol/midi/midi.h5
-rw-r--r--tmk_core/protocol/midi/midi_device.h5
-rw-r--r--tmk_core/protocol/midi/midi_function_types.h5
-rw-r--r--tmk_core/protocol/midi/sysex_tools.h5
7 files changed, 7 insertions, 27 deletions
diff --git a/tmk_core/protocol/midi/Config/LUFAConfig.h b/tmk_core/protocol/midi/Config/LUFAConfig.h
index b346c05bd..dead96de7 100644
--- a/tmk_core/protocol/midi/Config/LUFAConfig.h
+++ b/tmk_core/protocol/midi/Config/LUFAConfig.h
@@ -39,8 +39,7 @@
39 * manual section "Summary of Compile Tokens". 39 * manual section "Summary of Compile Tokens".
40 */ 40 */
41 41
42#ifndef _LUFA_CONFIG_H_ 42#pragma once
43#define _LUFA_CONFIG_H_
44 43
45#if (ARCH == ARCH_AVR8) 44#if (ARCH == ARCH_AVR8)
46 45
@@ -90,4 +89,3 @@
90# error Unsupported architecture for this LUFA configuration file. 89# error Unsupported architecture for this LUFA configuration file.
91 90
92#endif 91#endif
93#endif
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
diff --git a/tmk_core/protocol/midi/midi.h b/tmk_core/protocol/midi/midi.h
index 07d8cebc1..75f3b13b0 100644
--- a/tmk_core/protocol/midi/midi.h
+++ b/tmk_core/protocol/midi/midi.h
@@ -25,8 +25,7 @@
25 * 25 *
26 */ 26 */
27 27
28#ifndef XNOR_MIDI_H 28#pragma once
29#define XNOR_MIDI_H
30 29
31#ifdef __cplusplus 30#ifdef __cplusplus
32extern "C" { 31extern "C" {
@@ -486,5 +485,3 @@ midi_packet_length_t midi_packet_length(uint8_t status);
486#ifdef __cplusplus 485#ifdef __cplusplus
487} 486}
488#endif 487#endif
489
490#endif
diff --git a/tmk_core/protocol/midi/midi_device.h b/tmk_core/protocol/midi/midi_device.h
index 693d81a8e..79e8f7a93 100644
--- a/tmk_core/protocol/midi/midi_device.h
+++ b/tmk_core/protocol/midi/midi_device.h
@@ -21,8 +21,7 @@
21 * @brief Device implementation functions 21 * @brief Device implementation functions
22 */ 22 */
23 23
24#ifndef MIDI_DEVICE_H 24#pragma once
25#define MIDI_DEVICE_H
26 25
27#ifdef __cplusplus 26#ifdef __cplusplus
28extern "C" { 27extern "C" {
@@ -147,5 +146,3 @@ void midi_device_set_pre_input_process_func(MidiDevice* device, midi_no_byte_fun
147#ifdef __cplusplus 146#ifdef __cplusplus
148} 147}
149#endif 148#endif
150
151#endif
diff --git a/tmk_core/protocol/midi/midi_function_types.h b/tmk_core/protocol/midi/midi_function_types.h
index 761e88117..6f98a7298 100644
--- a/tmk_core/protocol/midi/midi_function_types.h
+++ b/tmk_core/protocol/midi/midi_function_types.h
@@ -21,8 +21,7 @@
21 * @brief Function signature definitions 21 * @brief Function signature definitions
22 */ 22 */
23 23
24#ifndef MIDI_FUNCTION_TYPES_H 24#pragma once
25#define MIDI_FUNCTION_TYPES_H
26 25
27#ifdef __cplusplus 26#ifdef __cplusplus
28extern "C" { 27extern "C" {
@@ -46,5 +45,3 @@ typedef void (*midi_sysex_func_t)(MidiDevice *device, uint16_t start_byte, uint8
46#ifdef __cplusplus 45#ifdef __cplusplus
47} 46}
48#endif 47#endif
49
50#endif
diff --git a/tmk_core/protocol/midi/sysex_tools.h b/tmk_core/protocol/midi/sysex_tools.h
index 454a92ea5..7d7f10d24 100644
--- a/tmk_core/protocol/midi/sysex_tools.h
+++ b/tmk_core/protocol/midi/sysex_tools.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-midi. If not, see <http://www.gnu.org/licenses/>. 17// along with avr-midi. If not, see <http://www.gnu.org/licenses/>.
18 18
19#ifndef SYSEX_TOOLS_H 19#pragma once
20#define SYSEX_TOOLS_H
21 20
22#ifdef __cplusplus 21#ifdef __cplusplus
23extern "C" { 22extern "C" {
@@ -91,5 +90,3 @@ uint16_t sysex_decode(uint8_t *decoded, const uint8_t *source, uint16_t length);
91#ifdef __cplusplus 90#ifdef __cplusplus
92} 91}
93#endif 92#endif
94
95#endif