Fix the I2C dead-lock of the Master
When some slave is unplugged suddenly this can lead to unresponsiveness of the driver. restart_I2C will continuously check this and assure that the driver will be reconfigured in case of a dead-lock.
This commit is contained in:
@@ -6,5 +6,6 @@
|
||||
// Functions:
|
||||
|
||||
void InitPeripherials();
|
||||
|
||||
void restartI2C();
|
||||
uint32_t I2C_Watchdog = 0;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user