    ~Panda();
  
    std::atomic<bool> connected = true;
    cereal::PandaState::PandaType hw_type = cereal::PandaState::PandaType::UNKNOWN;
    bool has_rtc = false;
  
    // HW communication
 
</s> remove     auto ps = msg.initEvent().initPandaState();
 </s> add     auto evt = msg.initEvent();
    evt.setValid(panda->comms_healthy);

    auto ps = evt.initPandaState(); </s> remove   auto canData = msg.initEvent().initCan(num_msg);
 </s> add   auto evt = msg.initEvent();
  evt.setValid(comms_healthy);
  std::atomic<bool> comms_healthy = true;
    ~Panda();
  
    std::atomic<bool> connected = true;
  std::atomic<bool> comms_healthy = true;
    cereal::PandaState::PandaType hw_type = cereal::PandaState::PandaType::UNKNOWN;
    bool has_rtc = false;
  
    // HW communication
keep keep add keep keep keep keep
 boardd: set can and pandaState valid flags (#20899)

* boardd: set can and pandaState valid flags

* add event

* bump cereal

* consistency 
selfdrive/boardd/panda.h