forked from M-Labs/nix-scripts
stm32: fix stabilizer IP address override
This commit is contained in:
parent
b5d7b1d10a
commit
e4d6dd253d
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue