es519xx: restore correct packet size

This commit is contained in:
Aurelien Jacobs 2013-10-10 23:11:06 +02:00 committed by Uwe Hermann
parent b21d7eebe2
commit bfb926c1d2
1 changed files with 5 additions and 1 deletions

View File

@ -200,7 +200,11 @@ SR_PRIV int sr_es51922_parse(const uint8_t *buf, float *floatval,
/*--- hardware/common/dmm/es519xx.c -----------------------------------------*/
#define ES519XX_11B_PACKET_SIZE 11
/**
* All 11-byte es519xx chips repeat each block twice for each conversion cycle
* so always read 2 blocks at a time.
*/
#define ES519XX_11B_PACKET_SIZE (11 * 2)
#define ES519XX_14B_PACKET_SIZE 14
struct es519xx_info {