mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fix annoying warning generated on newer GCC versions.
This commit is contained in:
parent
3ee654bb12
commit
5426cb1fb6
1 changed files with 2 additions and 2 deletions
|
@ -24,10 +24,10 @@ uint8_t HIDUniversal2::OnInitSuccessful()
|
||||||
HexDumper<USBReadParser, uint16_t, uint16_t> Hex;
|
HexDumper<USBReadParser, uint16_t, uint16_t> Hex;
|
||||||
ReportDescParser Rpt;
|
ReportDescParser Rpt;
|
||||||
|
|
||||||
if (rcode = GetReportDescr(0, &Hex))
|
if ((rcode = GetReportDescr(0, &Hex)))
|
||||||
goto FailGetReportDescr1;
|
goto FailGetReportDescr1;
|
||||||
|
|
||||||
if (rcode = GetReportDescr(0, &Rpt))
|
if ((rcode = GetReportDescr(0, &Rpt)))
|
||||||
goto FailGetReportDescr2;
|
goto FailGetReportDescr2;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue