diff --git a/Firmware/Bentuino/src/Component/components/io/button/ButtonComponent.cpp b/Firmware/Bentuino/src/Component/components/io/button/ButtonComponent.cpp index b7ebbdf1..4c05889d 100644 --- a/Firmware/Bentuino/src/Component/components/io/button/ButtonComponent.cpp +++ b/Firmware/Bentuino/src/Component/components/io/button/ButtonComponent.cpp @@ -6,8 +6,13 @@ bool ButtonComponent::initInternal(JsonObject o) timeAtPress = 0; AddParameter(multiPressCount); + multiPressCount.readOnly = true; + AddParameter(isLongPressed); + isLongPressed.readOnly = true; + AddParameter(isVeryLongPressed); + isVeryLongPressed.readOnly = true; return result; }