Skip to content

Commit 8dbe6db

Browse files
committed
Lotus: do not need to diagnostic fan in standalone mode
Signed-off-by: Josh-Tsai <josh_tsai@compal.com>
1 parent b6932fc commit 8dbe6db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zephyr/program/lotus/lotus/src/project_diagnostics.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ void check_device_deferred(void)
3535
/* force turn on the fan for diagnostic */
3636
dptf_set_fan_duty_target(5);
3737

38-
if (!(fan_get_rpm_actual(0) > 100))
38+
if (!(fan_get_rpm_actual(0) > 100) && !get_standalone_mode())
3939
set_diagnostic(DIAGNOSTICS_NO_RIGHT_FAN, true);
4040

41-
if (!(fan_get_rpm_actual(1) > 100))
41+
if (!(fan_get_rpm_actual(1) > 100) && !get_standalone_mode())
4242
set_diagnostic(DIAGNOSTICS_NO_LEFT_FAN, true);
4343

4444
/* Exit the duty mode and let thermal to control the fan */

0 commit comments

Comments
 (0)