From d6d0e5d97f9e3cda59def1ee8d9b81e0d419918c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sat, 18 Feb 2017 21:25:54 +0100 Subject: [PATCH] Modify init_peripherials.c given that I2C_Watchdog is defined in the KSDK now. --- lib/KSDK_2.0_MK22FN512xxx12 | 2 +- right/src/init_peripherials.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/KSDK_2.0_MK22FN512xxx12 b/lib/KSDK_2.0_MK22FN512xxx12 index bc5aeb5..f2c20af 160000 --- a/lib/KSDK_2.0_MK22FN512xxx12 +++ b/lib/KSDK_2.0_MK22FN512xxx12 @@ -1 +1 @@ -Subproject commit bc5aeb58ee69fc59115cbfb034f8a1075956504e +Subproject commit f2c20af6121e2e7e3bb856a2425408e77b04e966 diff --git a/right/src/init_peripherials.c b/right/src/init_peripherials.c index 20674ad..920207c 100644 --- a/right/src/init_peripherials.c +++ b/right/src/init_peripherials.c @@ -48,7 +48,6 @@ void InitI2c() { /* This function is designed to restart and reinstall the I2C handler * when a disconnection of the left side makes the master I2C bus unresponsive */ void restartI2C(void) { - extern uint32_t I2C_Watchdog; volatile uint32_t temp, counter; uint32_t sourceClock; i2c_master_config_t masterConfig;