Avoid compile error with Teensy

Avoid error when alphaBlend function used in sketch
This commit is contained in:
Bodmer
2023-08-10 22:10:25 +01:00
parent 1986bd2423
commit 3fcadd2792
2 changed files with 6 additions and 7 deletions

View File

@ -4973,8 +4973,8 @@ uint16_t TFT_eSPI::decodeUTF8(uint8_t *buf, uint16_t *index, uint16_t remaining)
** Function name: alphaBlend
** Description: Blend 16bit foreground and background
*************************************************************************************x*/
#ifndef STM32
inline
#if !defined (STM32) && !defined(__IMXRT1052__) && !defined(__IMXRT1062__)
inline
#endif
uint16_t TFT_eSPI::alphaBlend(uint8_t alpha, uint16_t fgc, uint16_t bgc)
{