Instead of just adding the target_address to a command this patch adds a reference to the whole inverter instance
10 lines
241 B
C++
10 lines
241 B
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
|
|
#include "CommandAbstract.h"
|
|
|
|
class SingleDataCommand : public CommandAbstract {
|
|
public:
|
|
explicit SingleDataCommand(InverterAbstract* inv, const uint64_t router_address = 0);
|
|
};
|