mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fixed compile warning -Woverflow in masstorage.h
Original warning message was: large integer implicitly truncated to unsigned type [-Woverflow]
This commit is contained in:
parent
925578d474
commit
bad44f8dca
1 changed files with 2 additions and 2 deletions
|
@ -456,8 +456,8 @@ struct CommandBlockWrapper : public CommandBlockWrapperBase {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
uint8_t bmCBWCBLength : 4;
|
uint8_t bmCBWCBLength : 6;
|
||||||
uint8_t bmReserved2 : 4;
|
uint8_t bmReserved2 : 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
uint8_t CBWCB[16];
|
uint8_t CBWCB[16];
|
||||||
|
|
Loading…
Reference in a new issue