This commit is contained in:
Tester23
2026-01-23 01:07:20 +01:00
parent 3e99fd41c3
commit c07f3ec026
2 changed files with 4 additions and 2 deletions

View File

@@ -566,7 +566,6 @@ const char* htmlPinRoleNames[] = {
"error",
"error",
};
const char* PIN_RoleToString(int role) {
return htmlPinRoleNames[role];
}

View File

@@ -202,7 +202,10 @@ void Test_PartitionSearch()
void Win_DoUnitTests()
{
// SELFTEST_ASSERT_EXPRESSION("sqrt(4)", 2)
SELFTEST_ASSERT(PIN_ParsePinRoleName("Btn_pd") == IOR_Button_pd);
SELFTEST_ASSERT(PIN_ParsePinRoleName("Btn_pd_n") == IOR_Button_pd_n);
SELFTEST_ASSERT(PIN_ParsePinRoleName("TglChanOnTgl_pd") == IOR_ToggleChannelOnToggle_pd);
Test_Command_If();
Test_MQTT();
Test_HTTP_Client();