Mirror with some correction
Dependencies: mbed FastIO FastPWM USBDevice
Diff: cfgVarMsgMap.h
- Revision:
- 65:739875521aae
- Parent:
- 61:3c7e6e9ec355
- Child:
- 66:2e3583fbd2f4
--- a/cfgVarMsgMap.h Tue Nov 22 20:46:36 2016 +0000 +++ b/cfgVarMsgMap.h Wed Nov 23 19:49:20 2016 +0000 @@ -182,9 +182,9 @@ if (idx == 0) { // index 0 on query retrieves number of slots - v_byte_ro(MAX_EXT_BUTTONS, 3); + v_byte_ro(MAX_BUTTONS, 3); } - else if (idx > 0 && idx <= MAX_EXT_BUTTONS) + else if (idx > 0 && idx <= MAX_BUTTONS) { // adjust to an array index --idx;