Skip to content

Commit f3ed191

Browse files
authored
Merge pull request #1647 from lesamouraipourpre/metal-detector
CLUE Metal Detector: Update for CP7
2 parents 4473c80 + 322412b commit f3ed191

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CLUE_Metal_Detector/clue-metal-detector.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,7 @@ def sample_sum(pin, num):
448448
voltage_units_dob.y = voltage_value_dob.y
449449
voltage_units_dob.x = len(voltage_value_dob.text) * FONT_WIDTH * FONT_SCALE
450450

451-
# 9 elements, 4 added immediately, 4 later, 1 spare for on-screen text
452-
screen_group = Group(max_size=4 + 4 + 1)
451+
screen_group = Group()
453452
if magnetometer is not None:
454453
screen_group.append(magnet_value_dob)
455454
screen_group.append(magnet_units_dob)

0 commit comments

Comments
 (0)