mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-26 22:25:43 +00:00
I2C_PCA9685: added line with return operation after line 483
git-svn-id: https://svn.fhem.de/fhem/trunk@11634 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
11f9c06e68
commit
45d8fce349
@ -481,6 +481,7 @@ sub I2C_PCA9685_i2cwrite($$$) { # Schreibbefehl an Hardware absetzen
|
||||
I2C_PCA9685_i2cread($hash, 6 + $n * $reg, $reg - ($reg * ($n+1) - 64)) if (($n+1) * $reg) > 64;
|
||||
}
|
||||
}
|
||||
return undef;
|
||||
} else {
|
||||
if (AttrVal($hash->{NAME}, "dummy", 0) == 1) {
|
||||
I2C_PCA9685_UpdReadings($hash, $reg, $data); # Zeile zum testen (Werte werden direkt zu I2CRec umgeleitet)
|
||||
|
Loading…
x
Reference in New Issue
Block a user