forked from M-Labs/nix-scripts
stm32: update stabilizer IP address override
* Affected by 2144af5bcd
.
This commit is contained in:
parent
726ee7aa82
commit
6fe5a903b9
|
@ -57,9 +57,9 @@ in
|
||||||
src = <stabilizerSrc>;
|
src = <stabilizerSrc>;
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace src/hardware/configuration.rs \
|
substituteInPlace src/hardware/configuration.rs \
|
||||||
--replace "IpAddress::v4(10, 0, 16, 99)" \
|
--replace "IpAddress::v4(10, 34, 16, 103)" \
|
||||||
"IpAddress::v4(192, 168, 1, 76)" \
|
"IpAddress::v4(192, 168, 1, 76)" \
|
||||||
--replace "Ipv4Address::new(10, 0, 16, 1)" \
|
--replace "Ipv4Address::new(10, 34, 16, 1)" \
|
||||||
"Ipv4Address::new(192, 168, 1, 1)"
|
"Ipv4Address::new(192, 168, 1, 1)"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue