fix max text size

This commit is contained in:
gemu2015 2022-02-05 07:26:21 +01:00
parent 7f6b6529c7
commit 2d428cf427
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ uint8_t *Renderer::allocate_framebuffer(uint32_t size) {
void Renderer::setTextSize(uint8_t sf) {
if (sf < 1) sf = 1;
if (sf > 4) sf = 4;
if (sf > 16) sf = 16;
tsize = sf;
Adafruit_GFX::setTextSize(sf);
}