Compare commits
2 Commits
60ae6ed04f
...
9f9227cf53
Author | SHA1 | Date | |
---|---|---|---|
9f9227cf53 | |||
1301c6f368 |
@ -1,13 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "uart.h"
|
||||
#include "marlin2.h"
|
||||
#include "esphome/core/automation.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace esphome {
|
||||
|
||||
template<typename... Ts> class Marlin2WriteAction : public Action<Ts...>, public Parented<UARTComponent> {
|
||||
template<typename... Ts> class Marlin2WriteAction : public Action<Ts...>, public Parented<Marlin2> {
|
||||
public:
|
||||
void set_data_template(std::function<std::vector<uint8_t>(Ts...)> func) {
|
||||
this->data_func_ = func;
|
||||
|
Loading…
x
Reference in New Issue
Block a user