mirror of
https://github.com/eclipse/upm.git
synced 2025-07-05 03:11:15 +03:00
java: fix Java types for ZFM20
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
3d74ea9820
commit
ebdb4f10d1
@ -229,7 +229,7 @@ uint32_t ZFM20::getMillis()
|
||||
return elapse;
|
||||
}
|
||||
|
||||
bool ZFM20::verifyPacket(unsigned char *pkt)
|
||||
bool ZFM20::verifyPacket(unsigned char *pkt, int len)
|
||||
{
|
||||
// verify packet header
|
||||
if (pkt[0] != ZFM20_START1 || pkt[1] != ZFM20_START2)
|
||||
@ -291,7 +291,7 @@ bool ZFM20::getResponse(unsigned char *pkt, int len)
|
||||
}
|
||||
|
||||
// now verify it.
|
||||
return verifyPacket(pkt);
|
||||
return verifyPacket(pkt, len);
|
||||
}
|
||||
|
||||
bool ZFM20::verifyPassword()
|
||||
|
Reference in New Issue
Block a user