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:
Petre Eftime
2015-09-01 14:45:46 +03:00
committed by Mihai Tudor Panu
parent 3d74ea9820
commit ebdb4f10d1
3 changed files with 22 additions and 7 deletions

View File

@ -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()