]> git.gag.com Git - fw/openocd/commitdiff
rtos: use ARRAY_SIZE() and simplify rtos_type.create()
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 16 May 2021 13:43:28 +0000 (15:43 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 29 May 2021 20:33:44 +0000 (21:33 +0100)
Use the existing macro ARRAY_SIZE().
Rewrite the functions rtos_type.create() to simplify the logic.

Change-Id: I8833354767045d1642801d26944c9087a77add00
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6261
Tested-by: jenkins

No differences found