Skip to content

Commit ea6f7e2

Browse files
committed
fan: update timer alarm value
1 parent 1a53935 commit ea6f7e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/user/fan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static void tim_init(void)
8282
};
8383
timer_init(TIMER_GROUP_0, TIMER_0, &tim_conf);
8484

85-
timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, 500000ULL);
85+
timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, 750000ULL);
8686

8787
timer_enable_intr(TIMER_GROUP_0, TIMER_0);
8888
timer_isr_register(TIMER_GROUP_0, TIMER_0, tim_isr_handler, NULL, ESP_INTR_FLAG_IRAM, NULL);

0 commit comments

Comments
 (0)