diff options
| author | Rémi Berthoz <[email protected]> | 2026-01-07 17:04:48 +0100 |
|---|---|---|
| committer | Rémi Berthoz <[email protected]> | 2026-01-07 17:36:01 +0100 |
| commit | 0e5241aa83c52792959ad8a2ef0535a3759530a7 (patch) | |
| tree | 9ca0493aa275f540041deddd6cec3371f62797a6 /src/class/printer/printer.h | |
| parent | 158fe86b55ee4704b57ad07a95ceb546b82534af (diff) | |
Adjust printer device class to 0.20.0 and fix compilation warnings
Diffstat (limited to 'src/class/printer/printer.h')
| -rw-r--r-- | src/class/printer/printer.h | 9 |
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__ */ |
