Announce the device serial number on connection again.

This commit is contained in:
David Given
2021-12-13 23:24:02 +01:00
parent 5eeb52660c
commit 5d3002f118

View File

@@ -61,9 +61,11 @@ USB* get_usb_impl()
switch (candidate->id)
{
case FLUXENGINE_ID:
std::cerr << fmt::format("Using FluxEngine {}\n", candidate->serial);
return createFluxengineUsb(candidate->device);
case GREASEWEAZLE_ID:
std::cerr << fmt::format("Using GreaseWeazle {} on {}\n", candidate->serial, candidate->serialPort);
return createGreaseWeazleUsb(candidate->serialPort);
default: