mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
fix for issue #172
This commit is contained in:
parent
95915bafd6
commit
a8b8c4e6f1
@ -195,7 +195,7 @@ static void s_init()
|
|||||||
|
|
||||||
while( ( pstart = platform_get_first_free_ram( i ) ) != NULL )
|
while( ( pstart = platform_get_first_free_ram( i ) ) != NULL )
|
||||||
{
|
{
|
||||||
memset( pstart, 0, memspace = ( u32 )platform_get_last_free_ram( i ) - ( u32 )pstart );
|
memspace = ( u32 )platform_get_last_free_ram( i ) - ( u32 )pstart;
|
||||||
g1 = ( char* )pstart;
|
g1 = ( char* )pstart;
|
||||||
crt = g1 + DYN_SIZE_MULT;
|
crt = g1 + DYN_SIZE_MULT;
|
||||||
g2 = g1 + memspace - DYN_SIZE_MULT;
|
g2 = g1 + memspace - DYN_SIZE_MULT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user