diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-03-06 18:03:07 -0800 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-03-06 18:03:07 -0800 |
commit | 64164f0de9eb54c016e5caccc9f5ec3a90d30a01 (patch) | |
tree | 852e3350b60c1a134c95dc836381b6283c52361e /examples/imx7_colibri_m4/low_power_demo/main.c | |
parent | ba2d7f9f1cbc230b354fddab1dc444d82ec44cee (diff) |
do not reconfigure high bus, Linux can figure it out on its own now
Diffstat (limited to 'examples/imx7_colibri_m4/low_power_demo/main.c')
-rw-r--r-- | examples/imx7_colibri_m4/low_power_demo/main.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/examples/imx7_colibri_m4/low_power_demo/main.c b/examples/imx7_colibri_m4/low_power_demo/main.c index 9029272..4756f83 100644 --- a/examples/imx7_colibri_m4/low_power_demo/main.c +++ b/examples/imx7_colibri_m4/low_power_demo/main.c @@ -218,13 +218,8 @@ void LCD_SetPixel(UG_S16 x, UG_S16 y, UG_COLOR c) void mu_handle_message(uint32_t msg) { - static bool firstready = true; switch(msg) { case MU_LPM_M4_LPM_READY: - if (firstready) - LPM_MCORE_SendMessage(MU_LPM_M4_RELEASE_HIGH_BUS); - firstready = false; - PRINTF("\n\rA7 ready\n\r"); break; case MU_LPM_M4_LPM_SLEEP: @@ -323,8 +318,8 @@ void LCD_Task(void *pvParameters) if (x >= LCDWIDTH) x = 0; - PRINTF("\r\nCPU delaying for 5s: "); - vTaskDelay(5000); + PRINTF("\r\nCPU delaying for 2s: "); + vTaskDelay(2000); PRINTF("done"); PRINTF("\r\nCPU spinning, press any character (s sends msg): "); |