Skip to content

Commit 3ecdfde

Browse files
committed
static IP config
+ dew point + pressure at sea level
1 parent 2250ff5 commit 3ecdfde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

airrohr-firmware/airrohr-cfg.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ enum ConfigShapeId {
7070
Config_display_wifi_info,
7171
Config_display_device_info,
7272
Config_static_ip,
73-
Config_static_mask,
73+
Config_static_subnet,
7474
Config_static_gateway,
7575
Config_static_dns,
7676
Config_debug,
@@ -138,7 +138,7 @@ static constexpr char CFG_KEY_HAS_LCD2004_27[] PROGMEM = "has_lcd2004_27";
138138
static constexpr char CFG_KEY_DISPLAY_WIFI_INFO[] PROGMEM = "display_wifi_info";
139139
static constexpr char CFG_KEY_DISPLAY_DEVICE_INFO[] PROGMEM = "display_device_info";
140140
static constexpr char CFG_KEY_STATIC_IP[] PROGMEM = "static_ip";
141-
static constexpr char CFG_KEY_STATIC_MASK[] PROGMEM = "static_mask";
141+
static constexpr char CFG_KEY_STATIC_SUBNET[] PROGMEM = "static_subnet";
142142
static constexpr char CFG_KEY_STATIC_GATEWAY[] PROGMEM = "static_gateway";
143143
static constexpr char CFG_KEY_STATIC_DNS[] PROGMEM = "static_dns";
144144
static constexpr char CFG_KEY_DEBUG[] PROGMEM = "debug";
@@ -206,7 +206,7 @@ static constexpr ConfigShapeEntry configShape[] PROGMEM = {
206206
{ Config_Type_Bool, 0, CFG_KEY_DISPLAY_WIFI_INFO, &cfg::display_wifi_info },
207207
{ Config_Type_Bool, 0, CFG_KEY_DISPLAY_DEVICE_INFO, &cfg::display_device_info },
208208
{ Config_Type_String, sizeof(cfg::static_ip)-1, CFG_KEY_STATIC_IP, cfg::static_ip },
209-
{ Config_Type_String, sizeof(cfg::static_mask)-1, CFG_KEY_STATIC_MASK, cfg::static_mask },
209+
{ Config_Type_String, sizeof(cfg::static_subnet)-1, CFG_KEY_STATIC_SUBNET, cfg::static_subnet },
210210
{ Config_Type_String, sizeof(cfg::static_gateway)-1, CFG_KEY_STATIC_GATEWAY, cfg::static_gateway },
211211
{ Config_Type_String, sizeof(cfg::static_dns)-1, CFG_KEY_STATIC_DNS, cfg::static_dns },
212212
{ Config_Type_UInt, 0, CFG_KEY_DEBUG, &cfg::debug },

0 commit comments

Comments
 (0)