From 000af958c76aaf7bff354f2093729600b60046db Mon Sep 17 00:00:00 2001 From: schneider <schneider@blinkenlichts.net> Date: Tue, 7 May 2019 21:39:33 +0200 Subject: [PATCH] fix(pmic): Wait a second after boot for stuff to settle --- Hello_World/main.c | 1 + testapp/main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Hello_World/main.c b/Hello_World/main.c index 65ddbcf0..1d0268ef 100644 --- a/Hello_World/main.c +++ b/Hello_World/main.c @@ -104,6 +104,7 @@ int main(void) int count = 0; printf("Hello World!\n"); + TMR_Delay(MXC_TMR0, MSEC(1000), 0); //Setup the I2CM I2C_Shutdown(MXC_I2C0_BUS0); diff --git a/testapp/main.c b/testapp/main.c index e03aedd6..c0df7b4c 100644 --- a/testapp/main.c +++ b/testapp/main.c @@ -245,6 +245,7 @@ int main(void) //int count = 0; printf("Hello World!\n"); + TMR_Delay(MXC_TMR0, MSEC(1000), 0); //Setup the I2CM I2C_Shutdown(I2C_DEVICE); -- GitLab