mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-25 23:06:11 +02:00
some more MI specific things
- might decode data and enqueue correct next command - small fixes wrt. to serial readibility
This commit is contained in:
parent
0e7874935d
commit
5b3d0593fe
4 changed files with 124 additions and 3 deletions
|
@ -202,7 +202,8 @@ class Inverter {
|
|||
mDevControlRequest = false;
|
||||
}
|
||||
else if(0 == getFwVersion())
|
||||
cb(InverterDevInform_All, false); // get firmware version
|
||||
cb(MI_REQ_CH1, false); // get firmware version
|
||||
//cb(InverterDevInform_All, false); // get firmware version
|
||||
else {
|
||||
record_t<> *rec = getRecordStruct(InverterDevInform_Simple);
|
||||
if (getChannelFieldValue(CH0, FLD_PART_NUM, rec) == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue