Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a0ac448 authored by quentin.in's avatar quentin.in Committed by hecaiqiang
Browse files

Optimize the infrared flag set

optimize the infrared flag set

Change-Id: I34d6d00b1778f72a1a85ae8d4a7e9580ffa1bda8
parent 0128f8f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2882,7 +2882,7 @@ static int oneplus_motor_chip_init(struct oneplus_motor_chip* chip)
	chip->manual2auto_down_switch = true;
	chip->is_free_fall = false;
	chip->free_fall_irq_times = 0;
	chip->infrared_shut_down_state = 0;
	chip->infrared_shut_down_state = 1;
	chip->free_fall_gpio = 0;
	chip->free_fall_irq = 0;
	chip->irq_monitor_started = false;