forked from Bodmer/TFT_eSPI
Various updates - raise to version 2.4.43
Sprite class uses TFT_eSPI setBitmapColor - fn deleted Small performance improvement to RP2040 SPI PIO Typo corrections Correct (unused) tft_Write_32 for STM32 Update HX8357D rotation code Enable software reset for ILI9486 Add preliminary RM68120 support
This commit is contained in:
@@ -335,18 +335,6 @@ int8_t TFT_eSprite::getColorDepth(void)
|
||||
}
|
||||
|
||||
|
||||
/***************************************************************************************
|
||||
** Function name: setBitmapColor
|
||||
** Description: Set the 1bpp foreground foreground and background colour
|
||||
***************************************************************************************/
|
||||
void TFT_eSprite::setBitmapColor(uint16_t c, uint16_t b)
|
||||
{
|
||||
if (c == b) b = ~c;
|
||||
_tft->bitmap_fg = c;
|
||||
_tft->bitmap_bg = b;
|
||||
}
|
||||
|
||||
|
||||
/***************************************************************************************
|
||||
** Function name: setPaletteColor
|
||||
** Description: Set the 4bpp palette color at the given index
|
||||
|
||||
Reference in New Issue
Block a user