Merge branch 'master' of github.com:xmos/lib_xua

This commit is contained in:
xross
2018-01-19 13:12:32 +00:00

View File

@@ -72,7 +72,7 @@ static inline void device_reboot_aux(void)
#ifdef __XS2A__
/* Reset all even tiles, starting from the remote ones */
for(unsigned int tileNum = tileArrayLength-2; tileNum>=0; tileNum-2)
for(unsigned int tileNum = tileArrayLength-2; tileNum>=0; tileNum-=2)
#else
/* Reset all tiles, starting from the remote ones */
for(unsigned int tileNum = tileArrayLength-1; tileNum>=0; tileNum--)