summaryrefslogtreecommitdiff
path: root/src/class/hid
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-01-29 20:13:17 +0700
committerGitHub <[email protected]>2019-01-29 20:13:17 +0700
commit29b49199beb8e9b5fead83e5cd36105f8746f1d7 (patch)
tree5fec0508a84fd7b75b21b16b13ef6181d97eaaa5 /src/class/hid
parentbd5325612620209e7964f10817a57f916d3bc13f (diff)
parent1a84f5da5496e7ea410e9023253b30933c207159 (diff)
Merge pull request #34 from hathach/develop
add tusb_inited(), better compatible with nrf SD
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c
index 3b882f705..5f6843d90 100644
--- a/src/class/hid/hid_device.c
+++ b/src/class/hid/hid_device.c
@@ -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