本帖最后由 helloccc 于 2023-11-25 00:42 编辑
请问下是不是新版本esphome不能用这个,我编译通过不了:
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.0.1
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- noise-c @ 0.1.4
Compiling .pioenvs/esphome-web-656258/src/esphome/components/dlt645/dlt645.cpp.o
Compiling .pioenvs/esphome-web-656258/src/esphome/components/remote_base/drayton_protocol.cpp.o
src/esphome/components/dlt645/dlt645.cpp: In member function 'virtual bool esphome::dlt645::DLT645Component::on_receive(esphome::remote_base::RemoteReceiveData)':
src/esphome/components/dlt645/dlt645.cpp:95:49: error: cannot convert 'const RawTimings' {aka 'const std::vector<int>'} to 'std::vector<int>*' in initialization
std::vector<int32_t> *raw = data.get_raw_data();
^
*** [.pioenvs/esphome-web-656258/src/esphome/components/dlt645/dlt645.cpp.o] Error 1
========================== [FAILED] Took 7.00 seconds ==========================
|