summaryrefslogtreecommitdiff
path: root/class/printer/usbd_printer.h
blob: b2bbdf49e2a87fb4e97e55971ca5a4ea6f85219b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2022, sakumisu
 *
 * SPDX-License-Identifier: Apache-2.0
 */
#ifndef USBD_PRINTER_H
#define USBD_PRINTER_H

#include "usb_printer.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Init printer interface driver */
struct usbd_interface *usbd_printer_init_intf(struct usbd_interface *intf, const uint8_t *device_id, uint8_t device_id_len);

#ifdef __cplusplus
}
#endif

#endif /* USBD_PRINTER_H */