2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

bugfix: 10_SOMFY: remove debug statements

git-svn-id: https://svn.fhem.de/fhem/trunk@22865 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
viegener 2020-09-27 15:55:14 +00:00
parent cfb3880a11
commit 386a1875e2

View File

@ -88,7 +88,9 @@
# - store roll code on setting of attribute
# - no update of DEF anymore with rolling code (roll code and enc key will be removed)
# - FIX: corrected of autostore rolling code (esp. restart)
# - FIX: corrected autostore rolling code (esp. restart)
# - FIX: DEBUG commands removed
#
#
###############################################################################
#
@ -1102,13 +1104,13 @@ sub SOMFY_getRollCode($;$)
$storeRC = "0000" if ( $storeRC !~ /[0-9A-F]{4}/ );
my $storeDec = hex( $storeRC );
my $rollDec = hex( $rollingcode );
Debug "Store hex: $storeRC dec: $storeDec";
Debug "RollC hex: $rollingcode dec: $rollDec";
# Debug "Store hex: $storeRC dec: $storeDec";
# Debug "RollC hex: $rollingcode dec: $rollDec";
if ( $storeDec > $rollDec ) {
$rollingcode = $storeRC;
}
Debug "Result Rolling code: $rollingcode";
# Debug "Result Rolling code: $rollingcode";
}
return $rollingcode;