summaryrefslogtreecommitdiff
path: root/app/include/zmk/usb_hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/include/zmk/usb_hid.h')
-rw-r--r--app/include/zmk/usb_hid.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/include/zmk/usb_hid.h b/app/include/zmk/usb_hid.h
index 5d7c744..7ee2629 100644
--- a/app/include/zmk/usb_hid.h
+++ b/app/include/zmk/usb_hid.h
@@ -1,5 +1,10 @@
-#ifndef ZMK_USB_HID
-#define ZMK_USB_HID
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
+#pragma once
#include <usb/usb_device.h>
#include <usb/class/usb_hid.h>
@@ -10,5 +15,3 @@
int zmk_usb_hid_init();
int zmk_usb_hid_send_report(u8_t *report, size_t len);
-
-#endif