Skip to content

Commit 9dcef72

Browse files
hakehuangkartben
authored andcommitted
samples: magn_trig: fix the fixture name
the fixture name shall align with applications also update dts to support trig mode fixes: #85444 Signed-off-by: Hake Huang <[email protected]>
1 parent 76a0608 commit 9dcef72

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright 2025 NXP
5+
*/
6+
7+
8+
&fxos8700 {
9+
status = "okay";
10+
int1-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
11+
int2-gpios = <&gpioa 17 GPIO_ACTIVE_LOW>;
12+
};

samples/sensor/magn_trig/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tests:
66
tags: sensors
77
filter: dt_alias_exists("magn0")
88
harness_config:
9-
fixture: fixture_sensor_accel_int
9+
fixture: fixture_sensor_magn_int
1010
type: one_line
1111
regex:
1212
- "^\\s*[0-9A-Za-z_,+-.]*@[0-9A-Fa-f]* \\(x, y, z\\): \

0 commit comments

Comments
 (0)