diff --git a/meson.build b/meson.build index bf2cf5aa..9f89f5ff 100644 --- a/meson.build +++ b/meson.build @@ -145,7 +145,7 @@ md380_src = src + stm32f405_src + ['platform/drivers/display/HX83XX_MDx.c', 'openrtx/src/graphics/graphics_rgb565.c'] md380_inc = inc + stm32f405_inc + ['platform/targets/MD-380'] -md380_def = def + stm32f405_def +md380_def = def + stm32f405_def + {'PLATFORM_MD380': ''} ## TYT MD390 @@ -159,7 +159,7 @@ md390_src = src + stm32f405_src + ['platform/drivers/display/HX83XX_MDx.c', 'openrtx/src/graphics/graphics_rgb565.c'] md390_inc = inc + stm32f405_inc + ['platform/targets/MD-390'] -md390_def = def + stm32f405_def +md390_def = def + stm32f405_def + {'PLATFORM_MD390': ''} @@ -173,7 +173,7 @@ mduv380_src = src + stm32f405_src + ['platform/drivers/display/HX83XX_MDx.c', 'openrtx/src/graphics/graphics_rgb565.c'] mduv380_inc = inc + stm32f405_inc + ['platform/targets/MD-UV380'] -mduv380_def = def + stm32f405_def +mduv380_def = def + stm32f405_def + {'PLATFORM_MDUV380': ''} ## diff --git a/platform/targets/MD-380/hwconfig.h b/platform/targets/MD-380/hwconfig.h index a2061c4c..293e5f70 100644 --- a/platform/targets/MD-380/hwconfig.h +++ b/platform/targets/MD-380/hwconfig.h @@ -22,8 +22,6 @@ #include -#define PLATFORM_MD380 - /* Screen dimensions */ #define SCREEN_WIDTH 160 #define SCREEN_HEIGHT 128 diff --git a/platform/targets/MD-390/hwconfig.h b/platform/targets/MD-390/hwconfig.h index a63668d9..4ef82d78 100644 --- a/platform/targets/MD-390/hwconfig.h +++ b/platform/targets/MD-390/hwconfig.h @@ -22,8 +22,6 @@ #include -#define PLATFORM_MD390 - /* Screen dimensions */ #define SCREEN_WIDTH 160 #define SCREEN_HEIGHT 128 diff --git a/platform/targets/MD-UV380/hwconfig.h b/platform/targets/MD-UV380/hwconfig.h index dd0864a0..897e2c02 100644 --- a/platform/targets/MD-UV380/hwconfig.h +++ b/platform/targets/MD-UV380/hwconfig.h @@ -22,8 +22,6 @@ #include -#define PLATFORM_MDUV380 - /* Screen dimensions */ #define SCREEN_WIDTH 160 #define SCREEN_HEIGHT 128