Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all possible functions and variables static
This is mainly to reduce code size. The write() function in class Arduboy2 has to remain virtual, so functions that result in it eventually being called could not be made static. The members of the Point and Rect structures could not be made static due to their intended use as having multiple instances. Also to reduce code size, bootLogoExtra() was made non-virtual. This meant that the begin() and bootLogo...() functions in the Arduboy2Base class had to have duplicate or equivalent functions added to the Arduboy2 class. Related documentation was updated and some minor changes were made to non-related documentation.
- Loading branch information
Showing
7 changed files
with
446 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.