25 lines
393 B
C
25 lines
393 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "esp_err.h"
|
|
#include "trikke_transport.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
bool initialized;
|
|
} trikke_usb_transport_t;
|
|
|
|
esp_err_t trikke_usb_transport_init(
|
|
trikke_usb_transport_t *usb,
|
|
trikke_transport_t *transport);
|
|
|
|
void trikke_usb_transport_deinit(trikke_usb_transport_t *usb);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|