Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
fix: change overlay filename
Browse files Browse the repository at this point in the history
Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
  • Loading branch information
simensrostad committed May 11, 2020
1 parent e0a6ceb commit 921a5dc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ endmenu # Cloud socket poll

menu "Accelerometer"

config ACCEL_DEV_NAME
config ADXL362_DEV_NAME
string "Accelerometer device name"
default "ADXL362"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ static void gps_trigger_handler(struct device *dev, struct gps_event *evt)

static void adxl362_init(void)
{
struct device *dev = device_get_binding(CONFIG_ACCEL_DEV_NAME);
struct device *dev = device_get_binding(CONFIG_ADXL362_DEV_NAME);

if (dev == NULL) {
LOG_INF("Device get binding device");
Expand Down

0 comments on commit 921a5dc

Please sign in to comment.