Skip to content

Commit 3d70331

Browse files
pamauryjwnrt
authored andcommitted
[silicon_creator,rescue] Fix typo in constant name
Signed-off-by: Amaury Pouly <[email protected]>
1 parent 5158bde commit 3d70331

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sw/device/silicon_creator/lib/rescue/dfu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ enum {
241241
* rescue mode.
242242
*/
243243
kUsbVendorGoogle = 0x18d1,
244-
kUsbProuctRomExt = 0x023a,
244+
kUsbProductRomExt = 0x023a,
245245

246246
/**
247247
* A proprietary vendor request to set the DFU mode using a FourCC code

sw/device/silicon_creator/lib/rescue/rescue_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static const usb_device_descriptor_t device_desc = {
3030
.device_protocol = 0,
3131
.max_packet_size_0 = 64,
3232
.vendor = kUsbVendorGoogle,
33-
.product = kUsbProuctRomExt,
33+
.product = kUsbProductRomExt,
3434
.bcd_device = 0x100,
3535
.imanufacturer = 1,
3636
.iproduct = 2,

0 commit comments

Comments
 (0)