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

Fix overly-specific HAL includes #2

Closed IboKhaled closed 3 years ago

IboKhaled commented 3 years ago

Fix overly-specific HAL includes

Include HAL based on Family instead of specific microcontrollers.

ardnew commented 3 years ago

@IboKhaled Great change, thanks.

I remember thinking there must be a more maintainable way to manage those includes when originally writing this, but obviously didn't investigate and wasn't aware of those defines.

Merging now.