1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-04-21 12:27:27 +03:00

add-copyright-notices.patch

Little notice cleanup + add ARRAY_SIZE

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green
2008-11-28 10:16:36 +00:00
committed by Andy Green
parent 58c0b57439
commit d10aee81b0
3 changed files with 28 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ void start_qi(void)
this_board = boards[board];
while (!n) {
if (board >= (sizeof(boards) / sizeof(boards[0])))
if (board >= ARRAY_SIZE(boards))
/* can't put diagnostic on serial... too early */
goto unhappy;