diff options
author | cpldcpu <cpldcpu@gmail.com> | 2015-06-06 22:53:13 +0200 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2015-06-06 22:53:13 +0200 |
commit | 389e417213d96383782029b2a5af22dd3cf81306 (patch) | |
tree | c0cec3abb75618bf72bac158608b909f2069e2bf | |
parent | f203134fa8cfb2485a73187793ff91c48575703f (diff) | |
download | micronucleus-389e417213d96383782029b2a5af22dd3cf81306.tar.gz micronucleus-389e417213d96383782029b2a5af22dd3cf81306.tar.bz2 micronucleus-389e417213d96383782029b2a5af22dd3cf81306.zip |
firmware: usbdrv.c bug
-rw-r--r-- | firmware/usbdrv/usbdrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbdrv/usbdrv.c b/firmware/usbdrv/usbdrv.c index 354dce7..cc1544e 100644 --- a/firmware/usbdrv/usbdrv.c +++ b/firmware/usbdrv/usbdrv.c @@ -298,7 +298,7 @@ USB_PUBLIC void usbSetInterrupt3(uchar *data, uchar len) # define SWITCH_START(cmd) {uchar _cmd = cmd; if(0){ # define SWITCH_CASE(value) }else if(_cmd == (value)){ # define SWITCH_CASE2(v1,v2) }else if(_cmd == (v1) || _cmd == (v2)){ -# define SWITCH_CASE3(v1,v2,v3) }else if(_cmd == (v1) || _cmd == (v2) || (_cmd == v3)){ +# define SWITCH_CASE3(v1,v2,v3) }else if(_cmd == (v1) || _cmd == (v2) || _cmd == (v3)){ # define SWITCH_DEFAULT }else{ # define SWITCH_END }} #endif |