From 564a31845a8695cc7fcedbca0fe5c705a9c10bf5 Mon Sep 17 00:00:00 2001 From: Swiftb0y <12380386+Swiftb0y@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:56:02 +0200 Subject: [PATCH] fixup! refactor: restructure `bulk_supported` to emphasize kv structure --- src/controllers/bulk/bulksupported.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/bulk/bulksupported.h b/src/controllers/bulk/bulksupported.h index 1d3da0ec6fc1..d6df8cfc6c0d 100644 --- a/src/controllers/bulk/bulksupported.h +++ b/src/controllers/bulk/bulksupported.h @@ -5,11 +5,11 @@ struct bulk_device_id { std::uint16_t vendor_id; std::uint16_t product_id; -} +}; // A list of supported USB bulk devices -struct bulk_device_tweaks { +struct bulk_device_tweak { std::uint8_t in_epaddr; std::uint8_t out_epaddr; std::uint8_t interface_number; @@ -17,7 +17,7 @@ struct bulk_device_tweaks { struct bulk_support_lookup { bulk_device_id key; - bulk_device_tweaks value; + bulk_device_tweak value; }; constexpr static bulk_support_lookup bulk_supported[] = {