smaffer / vgax

VGA library for Arduino UNO
430 stars 81 forks source link

Global variables use all memory #17

Open maciejlud opened 5 years ago

maciejlud commented 5 years ago

Hey, I got problem with memory on Uno. Global variables uses 7215 byte of memory when max is 2kB. I just include library with no writing code. Did someone found this issue earlier?

smaffer commented 5 years ago

Hi, Can you try to comment ATMEGA2560_HIGHRES and ATMEGA2560_MAXRES in VGAX.h? One ifdef is missing

maciejlud commented 5 years ago

Ok, comment ATMEGA2560_MAXRES works. Thanks