Skip to content

Commit

Permalink
[nrf fromlist] drivers: sensor: adxl367: fix trigger support
Browse files Browse the repository at this point in the history
The adxl367_trigger.c file was missing a DT_COMPAT definition,
which resulted in the driver config structs being misaligned
between the driver source files. This is fixed here.

Upstream PR: zephyrproject-rtos/zephyr#69339

Signed-off-by: Maximilian Deubel <[email protected]>
(cherry picked from commit b7a83778dff35a6c94b20509453d31ef0caaabb7)
  • Loading branch information
maxd-nordic authored and nordicjm committed Feb 23, 2024
1 parent 40a1478 commit 2977baa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/sensor/adxl367/adxl367_trigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

#define DT_DRV_COMPAT adi_adxl367

#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/util.h>
Expand Down

0 comments on commit 2977baa

Please sign in to comment.