Skip to content

Commit bc152da

Browse files
committed
atmel-samd: Remove debug prints from TouchIn
1 parent 4c77f84 commit bc152da

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

atmel-samd/common-hal/touchio/TouchIn.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,10 @@ void common_hal_touchio_touchin_construct(touchio_touchin_obj_t* self,
6868
adafruit_ptc_get_config_default(&self->config);
6969
self->config.pin = pin->pin;
7070
self->config.yline = pin->touch_y_line;
71-
mp_printf(&mp_plat_print, "pin %d line %d\n", pin->pin, pin->touch_y_line);
7271

7372
adafruit_ptc_init(PTC, &self->config);
7473

7574
self->threshold = 2 * get_raw_reading(self);
76-
//mp_printf(&mp_plat_print, "%d\n", self->threshold);
7775
}
7876

7977
void common_hal_touchio_touchin_deinit(touchio_touchin_obj_t* self) {
@@ -87,6 +85,5 @@ void touchin_reset() {
8785

8886
bool common_hal_touchio_touchin_get_value(touchio_touchin_obj_t *self) {
8987
uint16_t reading = get_raw_reading(self);
90-
//mp_printf(&mp_plat_print, "%d\n", reading);
9188
return reading > self->threshold;
9289
}

0 commit comments

Comments
 (0)