فهرست منبع

[BT-6709-MTS]add pmode tag

balbekova 1 سال پیش
والد
کامیت
e058618bcf
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 0
      config/board_bt6709_mts.h
  2. 0 2
      modules/parameters.h

+ 1 - 0
config/board_bt6709_mts.h

@@ -147,6 +147,7 @@ XSETTING( uint8_t, sFlagNotification[ALL_TRAPS], SETTINGS_SetFlagNotificationDef
   XJSON_PARAMS_TAG("bat_volt",           GetVoltageAKBtStr) \
   XJSON_PARAMS_TAG("bat_cap",            GetCapacityNominalAKBStr) \
   XJSON_PARAMS_TAG("bat_exp",            GetDataNextChangeAKBStrRU) \
+  XJSON_PARAMS_TAG("pmode",              GetModeStr) \
   XJSON_PARAMS_TAG("m_alarm",            GetAlarmMonitorStr) \
   XJSON_PARAMS_TAG("u_alarm",            GetAlarmStr) \
   XJSON_PARAMS_TAG("netsettings_changed",GetWebReinitFlag) \

+ 0 - 2
modules/parameters.h

@@ -52,8 +52,6 @@ void GetInternalTempInt(float *value);
 void GetAlarmMonitorStr(char *str, uint8_t *len);
 void GetConnectMonitorStr(char *str, uint8_t *len);
 
-void GetModeStr(char *str, uint8_t *len);
-
 /**
   * @brief
   */