diff --git a/src/modules/uni.h b/src/modules/uni.h index 4eb672d..f49e248 100644 --- a/src/modules/uni.h +++ b/src/modules/uni.h @@ -7,9 +7,9 @@ constexpr size_t UNI_IO_CNT = 16; struct MtbUniConfig { - std::array outputsSafe; - std::array inputsDelay; // 0 = 0s, 1 = 0.1s, 15 = 1.5s, min=0, max=15 - uint16_t irs; + std::array outputsSafe = {0, }; + std::array inputsDelay = {0, }; // 0 = 0s, 1 = 0.1s, 15 = 1.5s, min=0, max=15 + uint16_t irs = 0; MtbUniConfig(const QJsonObject& json) { this->fromJson(json); } MtbUniConfig(const std::vector& mtbUsbData) { this->fromMtbUsb(mtbUsbData); }