[bsp] fixed gcc warning: value computed is not used

This commit is contained in:
liang yongxiang 2018-03-13 17:20:51 +08:00
parent 249d5b5887
commit 2f14a55e28
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ void mem_test(uint32_t address, uint32_t size )
for(i=0; i<size/sizeof(uint32_t); i++)
{
*p_uint32_t = (uint32_t)p_uint32_t;
*p_uint32_t++;
p_uint32_t++;
}
p_uint32_t = (uint32_t *)address;