diff --git a/nrf5/Makefile b/nrf5/Makefile index a4a47e3a6c..578bb056cd 100644 --- a/nrf5/Makefile +++ b/nrf5/Makefile @@ -143,7 +143,6 @@ SRC_C += \ modnetwork.c \ timer.c \ rtc.c \ - adc.c \ DRIVERS_SRC_C += $(addprefix modules/,\ display/moddisplay.c \ @@ -165,6 +164,7 @@ DRIVERS_SRC_C += $(addprefix modules/,\ machine/uart.c \ machine/spi.c \ machine/i2c.c \ + machine/adc.c \ ) #ifeq ($(SD), ) diff --git a/nrf5/adc.c b/nrf5/modules/machine/adc.c similarity index 100% rename from nrf5/adc.c rename to nrf5/modules/machine/adc.c diff --git a/nrf5/adc.h b/nrf5/modules/machine/adc.h similarity index 100% rename from nrf5/adc.h rename to nrf5/modules/machine/adc.h