Merge pull request #1275 from TanekLiang/examples_update
[examples] fixed gcc warning: value computed is not used
This commit is contained in:
commit
a695984327
|
@ -80,7 +80,7 @@ void mem_test(uint32_t address, uint32_t size )
|
||||||
for(i=0; i<size/sizeof(uint32_t); i++)
|
for(i=0; i<size/sizeof(uint32_t); i++)
|
||||||
{
|
{
|
||||||
*p_uint32_t = (uint32_t)p_uint32_t;
|
*p_uint32_t = (uint32_t)p_uint32_t;
|
||||||
*p_uint32_t++;
|
p_uint32_t++;
|
||||||
}
|
}
|
||||||
|
|
||||||
p_uint32_t = (uint32_t *)address;
|
p_uint32_t = (uint32_t *)address;
|
||||||
|
|
Loading…
Reference in New Issue