Modify init_peripherials.c given that I2C_Watchdog is defined in the KSDK now.
This commit is contained in:
Submodule lib/KSDK_2.0_MK22FN512xxx12 updated: bc5aeb58ee...f2c20af612
@@ -48,7 +48,6 @@ void InitI2c() {
|
|||||||
/* This function is designed to restart and reinstall the I2C handler
|
/* This function is designed to restart and reinstall the I2C handler
|
||||||
* when a disconnection of the left side makes the master I2C bus unresponsive */
|
* when a disconnection of the left side makes the master I2C bus unresponsive */
|
||||||
void restartI2C(void) {
|
void restartI2C(void) {
|
||||||
extern uint32_t I2C_Watchdog;
|
|
||||||
volatile uint32_t temp, counter;
|
volatile uint32_t temp, counter;
|
||||||
uint32_t sourceClock;
|
uint32_t sourceClock;
|
||||||
i2c_master_config_t masterConfig;
|
i2c_master_config_t masterConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user