HTTP - removed P10,P11 expception from PIN monitor

PINS - button active level bug fix.
This commit is contained in:
valeklubomir
2022-10-21 00:32:42 +02:00
parent 0ba61a7a81
commit 6ecba9344d
2 changed files with 5 additions and 5 deletions

View File

@ -554,7 +554,7 @@ int http_fn_index(http_request_t* request) {
{
for (i = 0;i < 29;i++)
{
if ((PIN_GetPinRoleForPinIndex(i) == IOR_None) && (i != 10) && (i != 11))
if (PIN_GetPinRoleForPinIndex(i) == IOR_None)
{
HAL_PIN_Setup_Input(i);
}
@ -563,7 +563,7 @@ int http_fn_index(http_request_t* request) {
hprintf255(request, "<h5> PIN States<br>");
for (i = 0;i < 29;i++)
{
if ((PIN_GetPinRoleForPinIndex(i) != IOR_None) || (i == 10) || (i == 11))
if (PIN_GetPinRoleForPinIndex(i) != IOR_None)
{
hprintf255(request, "P%02i: NA ", i);
}