Update http_fns.c

This commit is contained in:
divadiow
2025-10-02 18:49:59 +01:00
committed by GitHub
parent 613d230457
commit 012c49c32d

View File

@@ -1000,7 +1000,7 @@ typedef enum {
/* Format current PINS input state for all unused pins */
if (CFG_HasFlag(OBK_FLAG_HTTP_PINMONITOR))
{
for (i = 0; i < PLATFORM_GPIO_MAX; i++)
for (i = 0; i < g_numPins; i++)
{
if ((PIN_GetPinRoleForPinIndex(i) == IOR_None) && (i != 0) && (i != 1))
{