summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/usb_descriptor.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-26 04:56:43 +0000
committerQMK Bot <hello@qmk.fm>2020-12-26 04:56:43 +0000
commit0b37c0dfa0690c60ddf0798d8d771b74f47ebca1 (patch)
tree3fa910e5907b75137d047363eee6680cc89228ee /tmk_core/protocol/usb_descriptor.h
parentffd7e44e5af660fbd131f67ef803ac3aad2123d6 (diff)
parent1d1d5da43f86d9dded47c66afec94991d623f114 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'tmk_core/protocol/usb_descriptor.h')
-rw-r--r--tmk_core/protocol/usb_descriptor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tmk_core/protocol/usb_descriptor.h b/tmk_core/protocol/usb_descriptor.h
index 3a7c0bdbac..4c6728ebb9 100644
--- a/tmk_core/protocol/usb_descriptor.h
+++ b/tmk_core/protocol/usb_descriptor.h
@@ -40,8 +40,8 @@
*
* Header file for Descriptors.c.
*/
-#ifndef _DESCRIPTORS_H_
-#define _DESCRIPTORS_H_
+
+#pragma once
#include <LUFA/Drivers/USB/USB.h>
@@ -286,4 +286,3 @@ enum usb_endpoints {
#define JOYSTICK_EPSIZE 8
uint16_t get_usb_descriptor(const uint16_t wValue, const uint16_t wIndex, const void** const DescriptorAddress);
-#endif