Adapt to olpc-hardware-manager API change
This commit is contained in:
parent
3f847008af
commit
764eee81e5
@ -31,7 +31,7 @@ class HardwareManager(object):
|
|||||||
self._service = dbus.Interface(proxy, HARDWARE_MANAGER_INTERFACE)
|
self._service = dbus.Interface(proxy, HARDWARE_MANAGER_INTERFACE)
|
||||||
|
|
||||||
def set_display_mode(self, mode):
|
def set_display_mode(self, mode):
|
||||||
self._service.set_mode(mode)
|
self._service.set_display_mode(mode)
|
||||||
|
|
||||||
def set_display_brightness(self, level):
|
def set_display_brightness(self, level):
|
||||||
self._service.set_display_brightness(level)
|
self._service.set_display_brightness(level)
|
||||||
|
Loading…
Reference in New Issue
Block a user