summaryrefslogtreecommitdiff
path: root/src/class/printer/printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/class/printer/printer.h')
-rw-r--r--src/class/printer/printer.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/class/printer/printer.h b/src/class/printer/printer.h
index 27e95b997..c9ed3cebc 100644
--- a/src/class/printer/printer.h
+++ b/src/class/printer/printer.h
@@ -30,19 +30,18 @@
#include "common/tusb_common.h"
#ifdef __cplusplus
- extern "C" {
+extern "C" {
#endif
/// Printer Class Specific Control Request
-typedef enum
-{
+typedef enum {
PRINTER_REQ_CONTROL_GET_DEVICE_ID = 0x01, ///< Get device ID
PRINTER_REQ_CONTROL_GET_PORT_STATUS = 0x02, ///< Get port status
PRINTER_REQ_CONTROL_SOFT_RESET = 0x03, ///< Soft reset
-}printer_request_enum_t;
+} printer_request_enum_t;
#ifdef __cplusplus
- }
+}
#endif
#endif /* _TUSB_PRINTER_H__ */