mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Pass real current timestamp to state_thermal() after cooldown
This commit is contained in:
parent
9226f87ad1
commit
9ec2457147
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ void state_thermal_cooldown(struct snapraid_state* state)
|
|||
state_device(state, DEVICE_UP, 0);
|
||||
|
||||
/* log new thermal info */
|
||||
if (state_thermal(state, 0) != 0)
|
||||
if (state_thermal(state, time(0)) != 0)
|
||||
break;
|
||||
|
||||
/* repeat the cooldown if the temperature is still outside the operating range */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue