From b28cff49c62bb2988c2c3984acfa0dadd4c18113 Mon Sep 17 00:00:00 2001 From: Ricardo Lima Caratti Date: Tue, 7 Jan 2025 23:43:36 -0300 Subject: [PATCH] Doc --- src/SI4844.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SI4844.cpp b/src/SI4844.cpp index bc3480b..46d4eed 100644 --- a/src/SI4844.cpp +++ b/src/SI4844.cpp @@ -898,11 +898,11 @@ si4844_status_response *SI4844::getStatus() { // setClockHigh(); setClockLow(); - // waitToSend(); + waitToSend(); do { - data_from_device = false; - waitInterrupt(); + // data_from_device = false; + // waitInterrupt(); Wire.beginTransmission(SI4844_ADDRESS); Wire.write(ATDD_GET_STATUS); Wire.endTransmission();