Merge pull request #1275 from TanekLiang/examples_update

[examples] fixed gcc warning: value computed is not used
This commit is contained in:
Bernard Xiong 2018-03-13 19:07:51 +08:00 committed by GitHub
commit a695984327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;