diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-10-06 09:43:35 +0200 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-10-06 09:43:35 +0200 |
| commit | fe72b7929c2f0b5dbac3040b303d195923735fc8 (patch) | |
| tree | 6234f695e635e88d448993243ce0b01caf58efbb /lib/python/Components | |
| parent | 0edde94c71828b4cbb95bbfb7011b6b966562742 (diff) | |
| download | enigma2-fe72b7929c2f0b5dbac3040b303d195923735fc8.tar.gz enigma2-fe72b7929c2f0b5dbac3040b303d195923735fc8.zip | |
fixes bug #593
use i2c_device from /proc/bus/nim_sockets for automatic cable scan
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/NimManager.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index f934ed50..67a1abc8 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -769,6 +769,9 @@ class NimManager: def getNim(self, slotid): return self.nim_slots[slotid] + + def getI2CDevice(self, slotid): + return self.nim_slots[slotid].getI2C() def getNimListOfType(self, type, exception = -1): # returns a list of indexes for NIMs compatible to the given type, except for 'exception' |
