diff --git a/apps/main.c b/apps/main.c index 3b7ec6d4c1..a88cd73ef7 100644 --- a/apps/main.c +++ b/apps/main.c @@ -38,9 +38,7 @@ #include "usb.h" #include "wifi.h" #include "powermgmt.h" -#if !defined(DX50) && !defined(DX90) #include "adc.h" -#endif #include "i2c.h" #ifndef DEBUG #include "serial.h" diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 8bfd41939f..8c807e5382 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -24,9 +24,7 @@ #include "kernel.h" #include "thread.h" #include "debug.h" -#if !defined(DX50) && !defined(DX90) #include "adc.h" -#endif #include "string.h" #include "storage.h" #include "power.h" diff --git a/firmware/target/hosted/ibasso/dx50/adc-target.h b/firmware/target/hosted/ibasso/dx50/adc-target.h new file mode 100644 index 0000000000..e69de29bb2 diff --git a/firmware/target/hosted/ibasso/dx90/adc-target.h b/firmware/target/hosted/ibasso/dx90/adc-target.h new file mode 100644 index 0000000000..e69de29bb2