Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions argonone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

dbus.mainloop.glib.threads_init()
log = logging.getLogger("argononed")
log.setLevel(logger.INFO)

NOTIFY = Enum('NOTIFY', [
('VALUE_TEMPERATURE', "temperature"),
Expand Down Expand Up @@ -278,9 +279,9 @@ def run(self):
log.info("Power button monitoring and control thread starting")
self._stop_requested = False
while not self._stop_requested:
log.info("DBG: calling .wait_for_button")
log.debug("calling .wait_for_button")
button_press = self._argon_board.wait_for_button()
log.info("DBG: button_press = %s", button_press)
log.debug("button_press = %s", button_press)
# XXX Originally assumed this would serve as an "ACK",
# but that is not the case (see comment above)
# if button_press is not None:
Expand Down