Remove duplicate convert_to_8bit_color_ function. (#2469)

Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
Dave T
2022-05-12 11:18:51 +01:00
committed by GitHub
parent 03d5a0ec1d
commit 39c6c2417a
3 changed files with 8 additions and 28 deletions
@@ -51,8 +51,6 @@ class ILI9341Display : public PollingComponent,
void reset_();
void fill_internal_(Color color);
void display_();
uint16_t convert_to_16bit_color_(uint8_t color_8bit);
uint8_t convert_to_8bit_color_(uint16_t color_16bit);
ILI9341Model model_;
int16_t width_{320}; ///< Display width as modified by current rotation