Compare commits

..

No commits in common. "9f9227cf53ea63e57f8d0d969220f9b42a9f5d76" and "60ae6ed04f69d0cc0379a12ce2c55ce141c1e539" have entirely different histories.

View File

@ -1,13 +1,13 @@
#pragma once
#include "marlin2.h"
#include "uart.h"
#include "esphome/core/automation.h"
#include <vector>
namespace esphome {
template<typename... Ts> class Marlin2WriteAction : public Action<Ts...>, public Parented<Marlin2> {
template<typename... Ts> class Marlin2WriteAction : public Action<Ts...>, public Parented<UARTComponent> {
public:
void set_data_template(std::function<std::vector<uint8_t>(Ts...)> func) {
this->data_func_ = func;