From 8995b6bd21fc1fa7d3239ff476b734b2fe1d150f Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Fri, 19 Jan 2018 00:24:29 +0000 Subject: [PATCH] Fixed typo in reboot Fixed typo in reboot for xs2 code --- lib_xua/src/core/support/reboot.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_xua/src/core/support/reboot.xc b/lib_xua/src/core/support/reboot.xc index 18b7b38c..f23ebdd2 100644 --- a/lib_xua/src/core/support/reboot.xc +++ b/lib_xua/src/core/support/reboot.xc @@ -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--)