summaryrefslogtreecommitdiff
path: root/class/printer/usbd_printer.c
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-08-17 20:12:37 +0800
committersakumisu <[email protected]>2022-08-17 20:12:37 +0800
commit54c52944d2454df1abcebd7e089bc67b6a1cad9d (patch)
tree80ef758ec123d4188903e29dcab44f5a2f475ce6 /class/printer/usbd_printer.c
parent2b31cad4ff4d0a86ee65cac173828efc956120f4 (diff)
remove comments to reduce rows
Diffstat (limited to 'class/printer/usbd_printer.c')
-rw-r--r--class/printer/usbd_printer.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/class/printer/usbd_printer.c b/class/printer/usbd_printer.c
index fae89532..c49b8018 100644
--- a/class/printer/usbd_printer.c
+++ b/class/printer/usbd_printer.c
@@ -23,21 +23,11 @@
#include "usbd_core.h"
#include "usbd_printer.h"
-/* Device data structure */
struct printer_cfg_priv {
uint8_t *device_id;
uint8_t port_status;
} usbd_printer_cfg;
-/**
- * @brief Handler called for Class requests not handled by the USB stack.
- *
- * @param setup Information about the request to execute.
- * @param len Size of the buffer.
- * @param data Buffer containing the request result.
- *
- * @return 0 on success, negative errno code on fail.
- */
static int printer_class_request_handler(struct usb_setup_packet *setup, uint8_t **data, uint32_t *len)
{
USB_LOG_DBG("Printer Class request: "