note 1 bpp in Sprite setColorDepth()

This commit is contained in:
John Belmonte 2022-05-01 16:59:28 +09:00 committed by GitHub
parent 24b0e88852
commit 92a4074e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class TFT_eSprite : public TFT_eSPI {
// Returns a pointer to the Sprite frame buffer // Returns a pointer to the Sprite frame buffer
void* frameBuffer(int8_t f); void* frameBuffer(int8_t f);
// Set or get the colour depth to 4, 8 or 16 bits. Can be used to change depth an existing // Set or get the colour depth to 1, 4, 8 or 16 bits. Can be used to change depth an existing
// sprite, but clears it to black, returns a new pointer if sprite is re-created. // sprite, but clears it to black, returns a new pointer if sprite is re-created.
void* setColorDepth(int8_t b); void* setColorDepth(int8_t b);
int8_t getColorDepth(void); int8_t getColorDepth(void);