Skip to content

Commit 0bc1728

Browse files
committed
Lotus: sometimes fan still cannot be detected
Signed-off-by: Josh-Tsai <josh_tsai@compal.com>
1 parent 8dbe6db commit 0bc1728

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
void start_fan_deferred(void)
2121
{
2222
/* force turn on the fan for diagnostic */
23-
dptf_set_fan_duty_target(5);
23+
dptf_set_fan_duty_target(20);
2424
}
2525
DECLARE_DEFERRED(start_fan_deferred);
2626

@@ -32,9 +32,6 @@ void check_device_deferred(void)
3232
if (get_deck_state() != DECK_ON && !get_standalone_mode())
3333
set_diagnostic(DIAGNOSTICS_INPUT_MODULE_FAULT, true);
3434

35-
/* force turn on the fan for diagnostic */
36-
dptf_set_fan_duty_target(5);
37-
3835
if (!(fan_get_rpm_actual(0) > 100) && !get_standalone_mode())
3936
set_diagnostic(DIAGNOSTICS_NO_RIGHT_FAN, true);
4037

0 commit comments

Comments
 (0)