harden USB telemetry transport
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user