From 3aebc9ce424ae51a7631965ca92601afd9d0f41b Mon Sep 17 00:00:00 2001 From: andbad Date: Fri, 22 May 2026 14:36:16 +0200 Subject: [PATCH] Update OLedFormSizes call to include element count --- src/_P036_FrameOLED.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_P036_FrameOLED.ino b/src/_P036_FrameOLED.ino index 49dae85e5..2775ebd79 100644 --- a/src/_P036_FrameOLED.ino +++ b/src/_P036_FrameOLED.ino @@ -307,7 +307,7 @@ boolean Plugin_036(uint8_t function, struct EventStruct *event, String& string) static_cast(p036_resolution::pix128x32), static_cast(p036_resolution::pix64x48), static_cast(p036_resolution::pix72x40) }; - OLedFormSizes(F("size"), optionValues, P036_RESOLUTION, true); + OLedFormSizes(F("size"), optionValues, P036_RESOLUTION, NR_ELEMENTS(optionValues), true); } OLedFormRotation(F("rotate"), P036_ROTATE);