ardnew / ILI9341-STM32-HAL

ILI9341 color TFT display and touchscreen driver for STM32 using HAL SPI with DMA
MIT License
86 stars 17 forks source link

Compiler warning unused function "finterp" #3

Closed IboKhaled closed 3 years ago

IboKhaled commented 3 years ago

The function finterp (ili9341.c line 628) is defined but not used. Is there a reason for it to exist or can it be removed?

ardnew commented 3 years ago

I'm guessing I used it at some point for blending colors or interpolating coordinates, but if you can verify it's not being used, it can certainly be removed.

Nothing special about it from any other linear interpolation (except it uses floats as opposed to scaled integers)