stm32: fix stabilizer IP address override

pull/33/head
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>; src = <stabilizerSrc>;
patchPhase = '' patchPhase = ''
substituteInPlace src/main.rs \ substituteInPlace src/main.rs \
--replace "let local_addr = net::wire::IpAddress::v4(10, 0, 16, 99);" \ --replace "net::wire::IpAddress::v4(10, 0, 16, 99)," \
"let local_addr = net::wire::IpAddress::v4(192, 168, 1, 76);" "net::wire::IpAddress::v4(192, 168, 1, 76),"
''; '';
}; };
thermostat = buildStm32Firmware { thermostat = buildStm32Firmware {