zero init internal class/device data

This commit is contained in:
hathach
2019-01-29 19:39:34 +07:00
parent e4e8413acc
commit 59c1b4b427
5 changed files with 11 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ typedef struct
hidd_interface_t* itf;
} hidd_report_t ;
CFG_TUSB_MEM_SECTION static hidd_interface_t _hidd_itf[ITF_COUNT];
CFG_TUSB_MEM_SECTION static hidd_interface_t _hidd_itf[ITF_COUNT] = { { 0 } };
#if CFG_TUD_HID_KEYBOARD