From a79c4f8ca7facb35518d7828c88e87a739044cf5 Mon Sep 17 00:00:00 2001 From: ttrabatt Date: Fri, 8 Aug 2025 18:42:56 +0200 Subject: [PATCH] fix P1 limit pin in enum --- include/pinlist.h | 1 + src/commands.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/pinlist.h b/include/pinlist.h index 109ca24..b64f7e7 100644 --- a/include/pinlist.h +++ b/include/pinlist.h @@ -1,3 +1,4 @@ +#pragma once enum RO // relay output channels { diff --git a/src/commands.h b/src/commands.h index 276ad16..0fc3d3e 100644 --- a/src/commands.h +++ b/src/commands.h @@ -16,7 +16,7 @@ namespace commands {"P2", RO::P2}, {"P3", RO::P3}, {"P4", RO::P4}, - {"UNLIMITED", RO::P1}}; + {"UNLIMITED", RO::RO_MAX}}; static const std::map c_heatingValveMap = {{"pump", RO::PUMP_HT}, {"first", RO::FST_FLOOR},