Делаем округление для всех кнопок равной 0

This commit is contained in:
2022-11-07 13:24:01 +03:00
parent ca0d9a4a5d
commit 2899f53d4b
3 changed files with 5 additions and 1 deletions

View File

@@ -4,7 +4,9 @@
class VButton : public IoTItem {
public:
VButton(String parameters): IoTItem(parameters) { }
VButton(String parameters): IoTItem(parameters) {
_round = 0;
}
void setValue(const IoTValue& Value, bool genEvent = true) {
value = Value;