Skip to content

Commit 39b2451

Browse files
nordic-bamikartben
authored andcommitted
tests: boards: nrf: qdec: Disable testing of 2nd instance until fixed
Disable testing second QDEC instance until the issue with multiple QDEC instances support is resolved Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
1 parent d5b9e74 commit 39b2451

File tree

1 file changed

+5
-1
lines changed
  • tests/boards/nrf/qdec/src

1 file changed

+5
-1
lines changed

tests/boards/nrf/qdec/src/main.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ static const struct gpio_dt_spec phase_b = GPIO_DT_SPEC_GET(DT_ALIAS(qencb), gpi
1717
static const struct device *const qdec_dev = DEVICE_DT_GET(DT_ALIAS(qdec0));
1818
static const uint32_t qdec_config_step = DT_PROP(DT_ALIAS(qdec0), steps);
1919

20-
#if DT_NODE_EXISTS(DT_ALIAS(qdec1))
20+
/* Disable testing second QDEC instance
21+
* until the issue with multiple
22+
* QDEC instances support is resolved
23+
*/
24+
#if DT_NODE_EXISTS(DT_ALIAS(qdecX))
2125
#define SECOND_QDEC_INSTANCE
2226

2327
static const struct gpio_dt_spec phase_a1 = GPIO_DT_SPEC_GET(DT_ALIAS(qenca1), gpios);

0 commit comments

Comments
 (0)