mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
17 lines
245 B
C++
17 lines
245 B
C++
#ifndef USBSERIAL_H
|
|
#define USBSERIAL_H
|
|
|
|
#include "libusbp.hpp"
|
|
|
|
struct CandidateDevice
|
|
{
|
|
libusbp::device device;
|
|
uint32_t id;
|
|
std::string serial;
|
|
};
|
|
|
|
extern std::vector<std::unique_ptr<CandidateDevice>> findUsbDevices(uint32_t id);
|
|
|
|
#endif
|
|
|