1. Trammell Hudson
  2. Magic Lantern

Commits

a1ex  committed 9272b2d

Cleanup: don't power on LCD sensor in play mode

  • Participants
  • Parent commits 83727b9
  • Branches unified

Comments (0)

Files changed (1)

File src/lcdsensor.c

View file
 void lcd_release_step() // to be called from shoot_task
 {
     extern int lcd_sensor_wakeup;
-    if ((lcd_release_running || lcd_sensor_shortcuts || lcd_sensor_wakeup || get_follow_focus_mode()==1) && (lv || PLAY_MODE) && !DISPLAY_SENSOR_POWERED && lens_info.job_state == 0) // force sensor on
+    if ((lcd_release_running || lcd_sensor_shortcuts || lcd_sensor_wakeup || get_follow_focus_mode()==1) && lv && !DISPLAY_SENSOR_POWERED && lens_info.job_state == 0) // force sensor on
     {
         fake_simple_button(MLEV_LCD_SENSOR_START); // look at this***
         msleep(500);