Update OLedFormSizes call to include element count

This commit is contained in:
andbad
2026-05-22 14:36:16 +02:00
committed by GitHub
parent 48641c73ee
commit 3aebc9ce42
+1 -1
View File
@@ -307,7 +307,7 @@ boolean Plugin_036(uint8_t function, struct EventStruct *event, String& string)
static_cast<int>(p036_resolution::pix128x32),
static_cast<int>(p036_resolution::pix64x48),
static_cast<int>(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);