summaryrefslogtreecommitdiff
path: root/avr/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/main.c')
-rw-r--r--avr/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avr/main.c b/avr/main.c
index 1e5a6f9..450e2ba 100644
--- a/avr/main.c
+++ b/avr/main.c
@@ -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);