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

This commit is contained in:
liang yongxiang 2018-03-13 17:37:32 +08:00
parent ddaa61fcc5
commit 707a0915e4
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,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;