Commit fecbda2887c3e0c90e5fc98d8fd27a577eb00b90
1 parent
a818f21afd
Exists in
master
and in
2 other branches
IP 값 초기 셋팅값 오류 수정
Showing
1 changed file
with
9 additions
and
3 deletions
Show diff stats
app/gui/oven_control/config.cpp
... | ... | @@ -94,9 +94,15 @@ void Config::initConfig(){ |
94 | 94 | configlist.items.program_download.d32=0; |
95 | 95 | configlist.items.program_upload.d32=0; |
96 | 96 | configlist.items.program_initialize.d32=0; |
97 | - configlist.items.ip.d32=0xC0A80002; | |
98 | - configlist.items.gateway.d32=0xC0A80001; | |
99 | - configlist.items.netmask.d32=0xffffff01; | |
97 | + configlist.items.ip.d8.d8_0 = 192; | |
98 | + configlist.items.ip.d8.d8_1 = 168; | |
99 | + configlist.items.ip.d8.d8_2 = 0; | |
100 | + configlist.items.ip.d8.d8_3 = 2; | |
101 | + configlist.items.gateway.d8.d8_0 = 192; | |
102 | + configlist.items.gateway.d8.d8_1 = 168; | |
103 | + configlist.items.gateway.d8.d8_2 = 0; | |
104 | + configlist.items.gateway.d8.d8_3 = 1; | |
105 | + configlist.items.netmask.d32=0x00ffffff; | |
100 | 106 | configlist.items.set_download.d32=0; |
101 | 107 | configlist.items.set_upload.d32=0; |
102 | 108 | configlist.items.set_half_energy.d32=0; | ... | ... |