Remove default initializations from tuya cover (#2415)

This commit is contained in:
Jesse Hills 2021-09-29 12:19:19 +13:00 committed by GitHub
parent 7af1c04493
commit 505d1d78fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,10 +23,10 @@ class TuyaCover : public cover::Cover, public Component {
Tuya *parent_;
optional<uint8_t> position_id_{};
uint32_t min_value_ = 0;
uint32_t max_value_ = 100;
uint32_t min_value_;
uint32_t max_value_;
uint32_t value_range_;
bool invert_position_ = false;
bool invert_position_;
};
} // namespace tuya