forked from PAWPAW-Mirror/lib_xua
Add XS3 support in reboot
This commit is contained in:
@@ -74,7 +74,7 @@ void device_reboot(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __XS2A__
|
#if defined(__XS2A__) || defined(__XS3A__)
|
||||||
/* Reset all even tiles, starting from the remote ones */
|
/* Reset all even tiles, starting from the remote ones */
|
||||||
for(int tileNum = tileArrayLength-2; tileNum>=0; tileNum-=2)
|
for(int tileNum = tileArrayLength-2; tileNum>=0; tileNum-=2)
|
||||||
#else
|
#else
|
||||||
@@ -86,7 +86,7 @@ void device_reboot(void)
|
|||||||
tileId = get_tile_id(tile[tileNum]);
|
tileId = get_tile_id(tile[tileNum]);
|
||||||
|
|
||||||
/* Do not reboot local tile (or tiles residing on the same node) yet */
|
/* Do not reboot local tile (or tiles residing on the same node) yet */
|
||||||
#ifdef __XS2A__
|
#if defined(__XS2A__) || defined(__XS3A__)
|
||||||
if((localTileNum | 1) != (tileNum | 1))
|
if((localTileNum | 1) != (tileNum | 1))
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user