Get rid of MODE_VIDEO_PAL_VSYNC_BLOCK
This commit is contained in:
parent
248d4e8084
commit
3e3e6ed976
|
@ -847,7 +847,6 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
|
|||
{
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_ENABLE);
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE);
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_VSYNC_BLOCK);
|
||||
}
|
||||
|
||||
|
||||
|
@ -863,12 +862,10 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
|
|||
if (g_extern.lifecycle_mode_state & (1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE))
|
||||
{
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE);
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_VSYNC_BLOCK);
|
||||
}
|
||||
else
|
||||
{
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE);
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_VIDEO_PAL_VSYNC_BLOCK);
|
||||
}
|
||||
|
||||
driver.video->restart();
|
||||
|
@ -881,7 +878,6 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
|
|||
if (g_extern.lifecycle_mode_state & (1ULL << MODE_VIDEO_PAL_ENABLE))
|
||||
{
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE);
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_VSYNC_BLOCK);
|
||||
|
||||
driver.video->restart();
|
||||
rgui_init_textures();
|
||||
|
|
Loading…
Reference in New Issue