]> git.gag.com Git - fw/quantimotor/commitdiff
remove debugging printf from the power button watcher daemon script
authorBdale Garbee <bdale@gag.com>
Fri, 25 Jul 2025 15:32:09 +0000 (09:32 -0600)
committerBdale Garbee <bdale@gag.com>
Fri, 25 Jul 2025 15:32:09 +0000 (09:32 -0600)
power-button.py

index 584e0ac3afc30c7b5849016caeac86362412ff01..e2478c3058dc05d8ef9fbf0356a2b677385fa09a 100755 (executable)
@@ -32,11 +32,6 @@ def watch_line_falling(chip_path, line_offset):
         while True:
             # Blocks until at least one event is available
             for event in request.read_edge_events():
-                print(
-                    "line: {}  type: Rising   event #{}".format(
-                        event.line_offset, event.line_seqno
-                    )
-                )
                 os.system("shutdown -h now")
 
 if __name__ == "__main__":