summaryrefslogtreecommitdiff
path: root/class/printer/usb_printer.h
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-08-18 21:41:19 +0800
committersakumisu <[email protected]>2022-08-18 21:41:19 +0800
commit7377b5183d6f1c78bc46b6b45fe5df04edf824fb (patch)
treee9d4acb427322f6cbc64c9174917fd49bde01f4e /class/printer/usb_printer.h
parent54c52944d2454df1abcebd7e089bc67b6a1cad9d (diff)
Simplify the license rows, standardize header macro name
Diffstat (limited to 'class/printer/usb_printer.h')
-rw-r--r--class/printer/usb_printer.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/class/printer/usb_printer.h b/class/printer/usb_printer.h
index 8471d76a..c8105c9f 100644
--- a/class/printer/usb_printer.h
+++ b/class/printer/usb_printer.h
@@ -1,5 +1,10 @@
-#ifndef _USB_PRINTER_H
-#define _USB_PRINTER_H
+/*
+ * Copyright (c) 2022, sakumisu
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+#ifndef USB_PRINTER_H
+#define USB_PRINTER_H
#define PRINTER_SUBCLASS 0x01U
@@ -11,4 +16,4 @@
#define PRINTER_STATUS_SELECTED 0x08U
#define PRINTER_STATUS_PAPER_EMPTY 0x10U
-#endif \ No newline at end of file
+#endif /* USB_PRINTER_H */