1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

Merge pull request #16400 from haukepetersen/fix_bmx280_xtimerdep

driver/bmx280: remove unused xtimer dependency
This commit is contained in:
Leandro Lanzieri 2021-04-27 15:41:53 +02:00 committed by GitHub
commit 52314cece8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 4 deletions

View File

@ -46,4 +46,3 @@ endchoice
config MODULE_BMX280
bool
depends on TEST_KCONFIG
select MODULE_XTIMER

View File

@ -1,5 +1,3 @@
USEMODULE += xtimer
ifneq (,$(filter bm%280_spi,$(USEMODULE)))
FEATURES_REQUIRED += periph_spi
FEATURES_REQUIRED += periph_gpio

View File

@ -28,7 +28,6 @@
#include "assert.h"
#include "bmx280.h"
#include "bmx280_internals.h"
#include "xtimer.h"
#define ENABLE_DEBUG 0
#include "debug.h"

View File

@ -3,6 +3,7 @@ include ../Makefile.tests_common
DRIVER ?= bme280_i2c
USEMODULE += fmt
USEMODULE += xtimer
USEMODULE += $(DRIVER)
include $(RIOTBASE)/Makefile.include

View File

@ -2,3 +2,4 @@
# application configuration. This is only needed during migration.
CONFIG_MODULE_BME280_I2C=y
CONFIG_MODULE_FMT=y
CONFIG_MODULE_XTIMER=y