Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(ci): remove debug prints from touch test
  • Loading branch information
P-R-O-C-H-Y committed Oct 11, 2024
commit 9cb63e2346a23b0333b53729a5b2b9e3fba577ce
2 changes: 0 additions & 2 deletions tests/validation/touch/touch.ino
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this test work properly on your board ? Mine is the older version and it fails 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On mine P4-EV board v1.4 it worked.

Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ void test_touch_read(void) {
touch_value_t touch_unpressed[sizeof(TOUCH_GPIOS)];
for (int i = 0; i < sizeof(TOUCH_GPIOS); i++) {
touch_unpressed[i] = touchRead(TOUCH_GPIOS[i]);
Serial.printf("\nUNPRESSED for CH%d = %d", i, touch_unpressed[i]);
}

// TEST PRESS STATE
Expand All @@ -153,7 +152,6 @@ void test_touch_read(void) {
touch_value_t touch_pressed[sizeof(TOUCH_GPIOS)];
for (int k = 0; k < sizeof(TOUCH_GPIOS); k++) {
touch_pressed[k] = touchRead(TOUCH_GPIOS[k]);
Serial.printf("\nPRESSED for CH%d = %d", k, touch_pressed[k]);
}

// COMPARE PRESSED > UNPRESSED
Expand Down
Loading