]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/main.c
Set __malloc_margin, Print free heap command
[z180-stamp.git] / avr / main.c
index 1e5a6f97f94df4eb1610f8a8b3e0e2839904356f..450e2bad324b08161c55e47baed790ee4d706bca 100644 (file)
@@ -246,6 +246,7 @@ int main(void)
 {
        extern void setup_mmc(void);
 
+       __malloc_margin = CONFIG_SYS_MALLOC_MARGIN;
        setup_avr();
        for (int i = 0; i < GPIO_MAX; i++)
                gpio_config(i, INPUT_PULLUP);