|
发表于 2009-9-7 17:22:20
|
显示全部楼层
mmi_camera_turn_on_preview_led_highlight --这个函数的问题,
#ifdef __CAMERA_FEATURE_LED_HIGHLIGHT_ON_OFF__
switch (g_camera_cntx.setting.led_highlight)
{
case CAMERA_SETTING_LED_HIGHLIGHT_ON:
custom_start_flashlight(1, 1, 1, duty);
break;
case CAMERA_SETTING_LED_HIGHLIGHT_OFF:
custom_stop_flashlight();
break;
default:
/* restore default value */
mmi_camera_restore_setting();
break;
}
#endif /* __CAMERA_FEATURE_LED_HIGHLIGHT_ON_OFF__ */
修改成宏 __CAMERA_PREVIEW_LED_HIGHLIGHT_ON_OFF__
就OK了! |
|