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:
commit
52314cece8
@ -46,4 +46,3 @@ endchoice
|
||||
config MODULE_BMX280
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
select MODULE_XTIMER
|
||||
|
@ -1,5 +1,3 @@
|
||||
USEMODULE += xtimer
|
||||
|
||||
ifneq (,$(filter bm%280_spi,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "assert.h"
|
||||
#include "bmx280.h"
|
||||
#include "bmx280_internals.h"
|
||||
#include "xtimer.h"
|
||||
|
||||
#define ENABLE_DEBUG 0
|
||||
#include "debug.h"
|
||||
|
@ -3,6 +3,7 @@ include ../Makefile.tests_common
|
||||
DRIVER ?= bme280_i2c
|
||||
|
||||
USEMODULE += fmt
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += $(DRIVER)
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user