Bodmer / TFT_ILI9341

A fast Arduino IDE compatible graphics and fonts library including a driver for the ILI9341 based TFT displays.
112 stars 33 forks source link

Bug fix and removed some warnings #19

Open adlabac opened 4 years ago

adlabac commented 4 years ago

The textWidth() function was not working properly if font = 1. This started with the "Tidy up code" commit when the line "else return 0;" was added.

Also, a several preprocessor directives were added to decrease the number of warnings (when compiler warnings are turned on) by removing unused variables.