Add HM330x Particle Sensor Support #5

Merged
seiichiro merged 5 commits from hm330x into master 2021-05-02 15:11:49 +00:00
Showing only changes of commit a9498980bb - Show all commits

View file

@ -66,9 +66,10 @@ uint8_t HM330x::getSensorData(char *payload, uint8_t startbyte) {
uint16ToPayload(value, payload, startbyte); uint16ToPayload(value, payload, startbyte);
startbyte += 2; startbyte += 2;
} }
return startbyte;
} }
} }
return startbyte; return startbyte+6;
} }
// Send only a Command // Send only a Command