mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
misc: Minor fixes due to previous rebase
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
428bac360b
commit
5e72c4febd
@ -211,7 +211,7 @@ bool MHZ16::getData(int *gas, int *temp)
|
||||
}
|
||||
|
||||
// will throw an exception if it fails
|
||||
verifyPacket(packet);
|
||||
verifyPacket(packet, sizeof(packet));
|
||||
|
||||
// pull out the data and return it.
|
||||
*gas = (packet[2] << 8) | packet[3];
|
||||
|
Reference in New Issue
Block a user