Coverity changes in USBHID.cpp

pull/11447/head
int_szyk 2019-09-10 12:34:47 +02:00
parent 567479792c
commit 9280392020
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ void USBHID::_init(uint8_t output_report_length, uint8_t input_report_length)
_read_idle = true;
_output_length = output_report_length;
_input_length = input_report_length;
reportLength = 0;
_input_report.length = 0;
_output_report.length = 0;
}
bool USBHID::ready()