]> git.sur5r.net Git - openocd/commit
stlink_usb: remove gcc-specific constant
authorAndrey Yurovsky <yurovsky@gmail.com>
Wed, 21 Aug 2013 03:15:36 +0000 (20:15 -0700)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 29 Aug 2013 07:57:19 +0000 (07:57 +0000)
commit82c3e1aa3193eee5a9f6f006a0508902368e106e
treeb5990b6b60f2cefd6ce2f64471d34ded18157582
parent1d4b0090e77dac47f53539612835b6174eb088ae
stlink_usb: remove gcc-specific constant

Replace 0b10 with 0x02, 0b is a GCC extension and isn't supported by
clang, for instance, so compiling on OS X will fail.  No functional
changes.

Change-Id: Ie882be1563df03e7ad3da0bc9aee65a907a29549
Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
Reviewed-on: http://openocd.zylin.com/1560
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/stlink_usb.c