00_MAXLAN: set time on cube if it has none (by Tom_S)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9234 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2015-09-11 21:55:14 +00:00
parent 2ddbf5ec9f
commit dd9a1876fc
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 00_MAXLAN: set time on cube if it has none (by Tom_S)
- bugfix: 14_CUL_MAX: work together with a-culfw
- bugfix: 70_PushNotifier: bugfix regex deviceID
- feature: new Module 74_AMAD to request Information and control Android

View File

@@ -173,7 +173,7 @@ MAXLAN_Connect($)
#At the end, the cube sends a "L:"
#Handle deferred setting of time
if(AttrVal($hash->{NAME},"set-clock-on-init","1") && $hash->{cubeTimeDifference} > 1) {
if(AttrVal($hash->{NAME},"set-clock-on-init","1") && ($hash->{cubeTimeDifference} > 1 || !$hash->{clockset})) {
MAXLAN_Set($hash,$hash->{NAME},"clock");
}