mirror of https://github.com/MLXXXp/Arduboy2.git
Fix bug created when AbPrinter class was added
This commit is contained in:
parent
2361d0d20f
commit
dd6a337242
|
@ -31,7 +31,7 @@ byte y;
|
|||
|
||||
// To get the number of characters, we subtract 1 from the length of
|
||||
// the array because there will be a NULL terminator at the end.
|
||||
#define NUM_CHARS (sizeof(text) - 1)
|
||||
#define NUM_CHARS (sizeof(title) - 1)
|
||||
|
||||
// This is the highest value that x can be without the end of the text
|
||||
// going farther than the right side of the screen. We add one because
|
||||
|
|
Loading…
Reference in New Issue