From fa04fa508448e49042828c5f3812bc8c132a942a Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Wed, 25 Aug 2021 00:34:19 +0100 Subject: [PATCH] I2C Manager, adjust loop code. loop() contains startTransaction which is called after handleInterrupt(). However, startTransaction is called within handleInterrupt so remove the extra call. This appears to solve strange problems encountered with the LCD display. --- I2CManager_NonBlocking.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/I2CManager_NonBlocking.h b/I2CManager_NonBlocking.h index 920cecd..41e9283 100644 --- a/I2CManager_NonBlocking.h +++ b/I2CManager_NonBlocking.h @@ -164,8 +164,6 @@ void I2CManagerClass::loop() { #if !defined(I2C_USE_INTERRUPTS) handleInterrupt(); #endif - // If free, initiate next transaction - startTransaction(); checkForTimeout(); }