mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
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.
This commit is contained in:
parent
80fc9e8a68
commit
fa04fa5084
|
@ -164,8 +164,6 @@ void I2CManagerClass::loop() {
|
|||
#if !defined(I2C_USE_INTERRUPTS)
|
||||
handleInterrupt();
|
||||
#endif
|
||||
// If free, initiate next transaction
|
||||
startTransaction();
|
||||
checkForTimeout();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user