]> git.sur5r.net Git - openocd/commit
OpenULINK firmware: Use C99 designated struct initializers
authorMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Thu, 4 Jul 2013 18:06:02 +0000 (20:06 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 17 Jul 2013 14:31:08 +0000 (14:31 +0000)
commit7f32136238f6b7e7e12cfbcb495ea467a43c7ee7
treeb92d42a1fc07bfbb61cb2183eaa52645ca10af2c
parentba8e6f170cfa0217f09034baef1428e93a87d0d7
OpenULINK firmware: Use C99 designated struct initializers

Recent versions of SDCC added support for C99 designated struct initializers.
This provides better code readability (no functional changes).

Successfully tested with ULINK probe and STM32F103 (debug, erase and write
flash).

Change-Id: Idfa35147d2c3043baaa21a811b926b3845c85f9b
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Reviewed-on: http://openocd.zylin.com/1484
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/OpenULINK/src/usb.c