This instance will be upgraded to Heptapod 0.19.0 (final) on 2021-01-20 at 14:00 UTC+1

Commit 035648f6 authored by alex@thinkpad's avatar alex@thinkpad

Shutdown: fixed crash on 5D2, 500D, possibly also 50D

--HG--
branch : lua_fix
parent bb541dbf8382
......@@ -372,7 +372,7 @@ MENU_UPDATE_FUNC(tasks_print)
static void leds_on()
{
_card_led_on();
info_led_on();
//info_led_on(); /* crashes on 5D2, 500D, possibly also 50D */
delayed_call(20, leds_on, 0);
}
......@@ -404,6 +404,7 @@ PROP_HANDLER(PROP_TERMINATE_SHUT_REQ)
if (buf[0] == 0)
{
/* keep the LEDs on until shutdown completes */
info_led_on();
delayed_call(20, leds_on, 0);
ml_shutdown();
......@@ -418,6 +419,7 @@ PROP_HANDLER(PROP_ABORT)
if (buf[0] == 1)
{
/* keep the LEDs on until shutdown completes */
info_led_on();
delayed_call(20, leds_on, 0);
#if defined(CONFIG_MODULES)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment