IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2014-10-23 07:06:55 (6 years 3 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | b51d442c317c76425cac446818ade6ccc43952c4 |
Message: | atusb/fw/usb/dfu.c (config_descriptor): correct alt settings
off-by-one error |
Files: |
atusb/fw/usb/dfu.c (1 diff) |
Change Details
atusb/fw/usb/dfu.c | ||
---|---|---|
95 | 95 | /* Interface #0 */ |
96 | 96 | |
97 | 97 | DFU_ITF_DESCR(0, 0, dfu_proto_dfu, DFU_ALT_NAME_0_IDX) |
98 | #if DFU_ALT_SETTINGS >= 1 | |
98 | #if DFU_ALT_SETTINGS > 1 | |
99 | 99 | DFU_ITF_DESCR(0, 1, dfu_proto_dfu, DFU_ALT_NAME_1_IDX) |
100 | 100 | #endif |
101 | #if DFU_ALT_SETTINGS >= 2 | |
101 | #if DFU_ALT_SETTINGS > 2 | |
102 | 102 | DFU_ITF_DESCR(0, 2, dfu_proto_dfu, DFU_ALT_NAME_2_IDX) |
103 | 103 | #endif |
104 | 104 | }; |