From ac4446cb36767dc05b14644d2201088508b0e272 Mon Sep 17 00:00:00 2001 From: Simon Albinsson Date: Fri, 13 Apr 2018 09:26:11 +0000 Subject: [PATCH] Re-adds a sleep that got lost in refactorization --- sgp30/sgp30.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sgp30/sgp30.py b/sgp30/sgp30.py index 2a237df..aebc4bc 100644 --- a/sgp30/sgp30.py +++ b/sgp30/sgp30.py @@ -52,6 +52,7 @@ class Sgp30(): else: read = i2c_msg.read(self._device_addr,cmd.replylen) self._bus.i2c_rdwr(write) + sleep(cmd.waittime/1000.0) self._bus.i2c_rdwr(read) r = list(read) crc_ok,a=self._raw_validate_crc(r)