Skip to content

Commit 336be94

Browse files
committed
exit handler deleted
1 parent f2d6723 commit 336be94

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

examples/amg88xx_rpi_thermal_cam_console.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import sys
55
import math
66
import time
7-
import atexit
87
import busio
98
import board
109
import numpy as np
@@ -49,13 +48,6 @@ def print_there(console_x, console_y, text, color):
4948
sys.stdout.write("\x1b7\x1b[48;5;%dm" % (color))
5049
sys.stdout.write("\x1b7\x1b[%d;%df%s\x1b8" % (console_x, console_y, text))
5150

52-
def exit_handler():
53-
""" print values on exit for debugging """
54-
print("maxpixel:" + str(MAXPIXEL))
55-
print("minpixel:" + str(MINPIXEL))
56-
57-
atexit.register(exit_handler)
58-
5951
# let the sensor initialize
6052
time.sleep(0.1)
6153

0 commit comments

Comments
 (0)