diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-06 15:26:06 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-06 15:26:06 +0200 |
| commit | 5fee5aaa6f9e9f4e5b72a8fd4b7709bc3d6e8a1a (patch) | |
| tree | a4acea5bf17fff0a1d4dd356cc880ff2bd5bc6f4 /Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c | |
| parent | 33c0ce2e46a6fca8b48396f8aab1150197af20f3 (diff) | |
| download | Tango-5fee5aaa6f9e9f4e5b72a8fd4b7709bc3d6e8a1a.tar.gz Tango-5fee5aaa6f9e9f4e5b72a8fd4b7709bc3d6e8a1a.zip | |
fix addresses, minimal idle time 1 hour
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c b/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c index 2a39a83bc..cbb2928b4 100644 --- a/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c +++ b/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c @@ -116,7 +116,8 @@ void PowerIdleInit(void) } void PowerIdleSetParameters(uint32_t switchtoidletimeinseconds,uint32_t idledriertemperature,uint32_t idleheadtemperature,uint32_t idlemixertemperature) { - powerIdleSecondsLimit = switchtoidletimeinseconds; + if (switchtoidletimeinseconds >= DEFAULT_IDLE_TIME_LIMIT) + powerIdleSecondsLimit = switchtoidletimeinseconds; IdleDrierTemperature = idledriertemperature; IdleHeadTemperature = idleheadtemperature; IdleMixerTemperature = idlemixertemperature; |
