fix example config, cpp errors, tested with voltronic 5000 and qpiri 102

This commit is contained in:
Raphael Pertl
2020-02-22 23:04:00 +01:00
parent 35a09bb538
commit b39eeb52eb
4 changed files with 9 additions and 5 deletions
+1 -3
View File
@@ -23,7 +23,7 @@ class cInverter {
uint16_t cal_crc_half(uint8_t *pin, uint8_t len);
public:
cInverter(std::string devicename);
cInverter(std::string devicename, int qpiri);
void poll();
void runMultiThread() {
std::thread t1(&cInverter::poll, this);
@@ -34,8 +34,6 @@ class cInverter {
string *GetQpigsStatus();
string *GetWarnings();
int qpiri;
int GetMode();
void ExecuteCmd(const std::string cmd);
};