Closed manuaatitya closed 4 years ago
This is technically correct (in that it compiles). it creates a variable that is never used, wasting 4 bytes of RAM. If the line is removed then everything compiles. The textsize_x and textsize_y are initialized and used in Adafruit_GFX, so everyone is happy.
ok so this is good to merge, fixes the issue?
Yes, it fixes the issue.
awesome, thanks!
1) The following change has been done to remove the compilation error when using the library due to non-declaration of the datatype for the variable "textsize" used in line 115 of the code.
2) I have added the datatype "int" for the variable since the value assigned to it being 1.
3) Images before & after correction of this issue have also been attached.