Fixed typo in reboot

Fixed typo in reboot for xs2 code
This commit is contained in:
Ross Owen
2018-01-19 00:24:29 +00:00
committed by GitHub
parent c72e7025c6
commit 8995b6bd21

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--)