From ade6336fd0ee86a0357bc10057266245ffe575b1 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 14 Mar 2017 23:15:19 -0700 Subject: [PATCH] ist8310: lower sample rate --- src/drivers/ist8310/ist8310.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/ist8310/ist8310.cpp b/src/drivers/ist8310/ist8310.cpp index c35ff90a41..a4d0e754ff 100644 --- a/src/drivers/ist8310/ist8310.cpp +++ b/src/drivers/ist8310/ist8310.cpp @@ -82,7 +82,7 @@ /* Max measurement rate is 160Hz, however with 160 it will be set to 166 Hz, therefore workaround using 150 * The datasheet gives 200Hz maximum measurement rate, but it's not true according to tech support from iSentek*/ -#define IST8310_CONVERSION_INTERVAL (1000000 / 150) /* microseconds */ +#define IST8310_CONVERSION_INTERVAL (1000000 / 100) /* microseconds */ #define IST8310_BUS_I2C_ADDR 0xE #define IST8310_DEFAULT_BUS_SPEED 400000