From e4d6dd253db98539429a06e5c05d8768ed407e73 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 11 Sep 2020 18:38:37 +0800 Subject: [PATCH] stm32: fix stabilizer IP address override --- stm32/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stm32/default.nix b/stm32/default.nix index 0e8ed53..e2712bc 100644 --- a/stm32/default.nix +++ b/stm32/default.nix @@ -39,8 +39,8 @@ in src = ; 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 {