mirror of https://github.com/MLXXXp/Arduboy2.git
The new compiler In Arduino IDE 1.8.6/1.8.7 has an optimization glitch where it fails to see the difference between a data structure in RAM and in PROGMEM when the data is the same and optimizes one out. drawPixel() is unable to fetch the correct pixel mask from the bitshift_left array in PROGMEM causing junk to be drawn The bitshift_left[] array has now been optimised out and drawPixel() will function properly. The optimisation uses the same number of cycles and saves 6 bytes drawPixel() has also been made static so the Arduboy object pointer is no longer needlesly passed on to drawPixel() saving more bytes |
||
|---|---|---|
| .. | ||
| Arduboy2.cpp | ||
| Arduboy2.h | ||
| Arduboy2Audio.cpp | ||
| Arduboy2Audio.h | ||
| Arduboy2Beep.cpp | ||
| Arduboy2Beep.h | ||
| Arduboy2Core.cpp | ||
| Arduboy2Core.h | ||
| Sprites.cpp | ||
| Sprites.h | ||
| SpritesB.cpp | ||
| SpritesB.h | ||
| SpritesCommon.h | ||
| ab_logo.c | ||
| glcdfont.c | ||