Skip to content

Commit 262f88e

Browse files
aviscontiioannisg
authored andcommitted
boards/shields: x_nucleo_iks01a1: connect irq to DRDY pin
The LIS3MDL driver handles DRDY interrupt only. So connect trigger to the DRDY pin instead of the INT pin. Signed-off-by: Armando Visconti <[email protected]>
1 parent 0ba94d6 commit 262f88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/shields/x_nucleo_iks01a1/x_nucleo_iks01a1.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
lis3mdl-magn@1e {
2323
compatible = "st,lis3mdl-magn";
2424
reg = <0x1e>;
25-
irq-gpios = <&arduino_header 4 GPIO_ACTIVE_HIGH>; /* A4 */
25+
irq-gpios = <&arduino_header 5 GPIO_ACTIVE_HIGH>; /* DRDY on A5 */
2626
label = "LIS3MDL";
2727
};
2828

0 commit comments

Comments
 (0)