Missing field init.

This commit is contained in:
Your Name 2023-02-16 16:05:59 +01:00
parent f370a2e955
commit af20bf936d

View File

@ -36,9 +36,9 @@ class LinBusListener : public PollingComponent, public uart::UARTDevice {
#endif // USE_RP2040
protected:
LIN_CHECKSUM lin_checksum_;
GPIOPin *cs_pin_;
GPIOPin *fault_pin_;
LIN_CHECKSUM lin_checksum_ = LIN_CHECKSUM::LIN_CHECKSUM_VERSION_2;
GPIOPin *cs_pin_ = nullptr;
GPIOPin *fault_pin_ = nullptr;
bool observer_mode_ = false;
void write_lin_answer_(const u_int8_t *data, size_t len);