Flag13 - extend pin state display to PLATFORM_GPIO_MAX (#1823)

* Update http_fns.c

* Update http_fns.c

* Update http_fns.c

* Revert "Update http_fns.c"

This reverts commit c899cb45b0f982cbe65febf64c6f0b14acbc4f4f.

* Revert "Update http_fns.c"

This reverts commit 012c49c32dd752e16ed0c69d3fe0e04c44db885e.

* Update http_fns.c
This commit is contained in:
divadiow 2025-10-03 13:50:09 +01:00 committed by GitHub
parent e930bd2d75
commit f60d242fbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 < 29; i++)
for (i = 0; i < PLATFORM_GPIO_MAX; i++)
{
if ((PIN_GetPinRoleForPinIndex(i) == IOR_None) && (i != 0) && (i != 1))
{
@ -1009,7 +1009,7 @@ typedef enum {
}
hprintf255(request, "<h5> PIN States<br>");
for (i = 0; i < 29; i++)
for (i = 0; i < PLATFORM_GPIO_MAX; i++)
{
if ((PIN_GetPinRoleForPinIndex(i) != IOR_None) || (i == 0) || (i == 1))
{