From 4df5d5c166ea647430daca266e36838304c44f25 Mon Sep 17 00:00:00 2001 From: aeprox Date: Sat, 22 Aug 2015 21:43:29 +0200 Subject: [PATCH] Fix channel1 reading Give sensor more time to integrate (400ms => 404ms) --- app/tsl2561/tsl2561.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tsl2561/tsl2561.c b/app/tsl2561/tsl2561.c index 0d6cee26..c3a2a197 100644 --- a/app/tsl2561/tsl2561.c +++ b/app/tsl2561/tsl2561.c @@ -223,7 +223,7 @@ tsl2561Error_t tsl2561GetLuminosity (uint16_t *broadband, uint16_t *ir) os_delay_us(102000);//systickDelay(102); break; default: - os_delay_us(400000);//systickDelay(400); + os_delay_us(404000);//systickDelay(404); break; }