1
0
Fork 0

stm32: fix stabilizer IP address override

This commit is contained in:
Sebastien Bourdeauducq 2020-09-11 18:38:37 +08:00
parent b5d7b1d10a
commit e4d6dd253d
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ in
src = <stabilizerSrc>;
patchPhase = ''
substituteInPlace src/main.rs \
--replace "let local_addr = net::wire::IpAddress::v4(10, 0, 16, 99);" \
"let local_addr = net::wire::IpAddress::v4(192, 168, 1, 76);"
--replace "net::wire::IpAddress::v4(10, 0, 16, 99)," \
"net::wire::IpAddress::v4(192, 168, 1, 76),"
'';
};
thermostat = buildStm32Firmware {