Browse Source

remove SetPortGwIpStr

balbekova 5 years ago
parent
commit
af3a6b1fd6
2 changed files with 0 additions and 18 deletions
  1. 0 13
      modules/parameters.c
  2. 0 5
      modules/parameters.h

+ 0 - 13
modules/parameters.c

@@ -1846,19 +1846,6 @@ void SetPortGwEnabledStr(char *str)
     }
 }
 
-/**
-  * @brief  IP-адрес
-  */
-void SetPortGwIpStr(char *str)
-{
-    char temp[16];
-
-    if (strlen(str) <= sizeof(temp)) {
-        ip_strip(str, temp);
-        SET_STR_VALUE(sSettings.sPortGw.ip, temp);
-    }
-}
-
 /**
   * @brief  Сетевой порт
   */

+ 0 - 5
modules/parameters.h

@@ -804,11 +804,6 @@ void SetWhiteList5STR(char *str);
   */
 void SetPortGwEnabledStr(char *str);
 
-/**
-  * @brief  IP-адрес
-  */
-void SetPortGwIpStr(char *str);
-
 /**
   * @brief  Сетевой порт
   */