Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.0 on 2022-01-18 at 14:00 UTC+1 (a few minutes of down time)

Commit bc7de039 authored by a1ex's avatar a1ex
Browse files

600D: Disabled CFN set functions which crash the camera, and debug logging from gui.c

--HG--
branch : unified
parent 39ed4d149741
......@@ -46,6 +46,7 @@ int get_htp()
void set_htp(int enable)
{
return; // crash
if (enable) cfn2[0] |= 0x1000000;
else cfn2[0] &= ~0x1000000;
prop_request_change(PROP_CFN2, cfn2, CFN2_LEN);
......@@ -53,6 +54,7 @@ void set_htp(int enable)
void set_mlu(int enable)
{
return; // crash
if (enable) cfn3[1] |= 0x100;
else cfn3[1] &= ~0x100;
prop_request_change(PROP_CFN3, cfn3, CFN3_LEN);
......
......@@ -183,7 +183,7 @@ static int handle_buttons(struct event * event) {
default :
bmp_printf(FONT_SMALL, 10, 50, "UNHANDLED BGMT : %08x", event->param);
DebugMsg( DM_MAGIC, 3, "UNHANDLED BGMT : %08x", event->param);
dumpf();
//~ dumpf();
}
}
return output;
......
......@@ -2628,7 +2628,6 @@ shoot_task( void* unused )
movie_end_flag = 0;
}
#ifndef CONFIG_600D
if (!lv) // MLU
{
if (mlu_mode == 0 && get_mlu()) set_mlu(0);
......@@ -2645,7 +2644,6 @@ shoot_task( void* unused )
}
}
}
#endif
if (lv && face_zoom_request && lv_dispsize == 1 && !recording)
{
......
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