Return Correct Payload Byte from HM330x
This commit is contained in:
parent
6c67032ef2
commit
a9498980bb
1 changed files with 2 additions and 1 deletions
|
@ -66,9 +66,10 @@ uint8_t HM330x::getSensorData(char *payload, uint8_t startbyte) {
|
|||
uint16ToPayload(value, payload, startbyte);
|
||||
startbyte += 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
return startbyte;
|
||||
}
|
||||
}
|
||||
return startbyte+6;
|
||||
}
|
||||
|
||||
// Send only a Command
|
||||
|
|
Loading…
Reference in a new issue