mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-04 19:25:47 +00:00
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 commitc899cb45b0. * Revert "Update http_fns.c" This reverts commit012c49c32d. * Update http_fns.c
This commit is contained in:
@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user