File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
atmel-samd/common-hal/touchio Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -68,12 +68,10 @@ void common_hal_touchio_touchin_construct(touchio_touchin_obj_t* self,
68
68
adafruit_ptc_get_config_default (& self -> config );
69
69
self -> config .pin = pin -> pin ;
70
70
self -> config .yline = pin -> touch_y_line ;
71
- mp_printf (& mp_plat_print , "pin %d line %d\n" , pin -> pin , pin -> touch_y_line );
72
71
73
72
adafruit_ptc_init (PTC , & self -> config );
74
73
75
74
self -> threshold = 2 * get_raw_reading (self );
76
- //mp_printf(&mp_plat_print, "%d\n", self->threshold);
77
75
}
78
76
79
77
void common_hal_touchio_touchin_deinit (touchio_touchin_obj_t * self ) {
@@ -87,6 +85,5 @@ void touchin_reset() {
87
85
88
86
bool common_hal_touchio_touchin_get_value (touchio_touchin_obj_t * self ) {
89
87
uint16_t reading = get_raw_reading (self );
90
- //mp_printf(&mp_plat_print, "%d\n", reading);
91
88
return reading > self -> threshold ;
92
89
}
You can’t perform that action at this time.
0 commit comments