diff options
Diffstat (limited to 'firmware/target')
4 files changed, 11 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/adc-imx233.c b/firmware/target/arm/imx233/adc-imx233.c index 4f183ac531..d0c4868ad3 100644 --- a/firmware/target/arm/imx233/adc-imx233.c +++ b/firmware/target/arm/imx233/adc-imx233.c | |||
@@ -22,6 +22,8 @@ | |||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "adc.h" | 23 | #include "adc.h" |
24 | #include "adc-target.h" | 24 | #include "adc-target.h" |
25 | #include "system.h" | ||
26 | #include "adc-imx233.h" | ||
25 | 27 | ||
26 | /* dedicate two channels to temperature sensing | 28 | /* dedicate two channels to temperature sensing |
27 | * dedicate channel 7 to battery | 29 | * dedicate channel 7 to battery |
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c index 8a99d19323..757ec72519 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "adc-target.h" | 21 | #include "adc-target.h" |
22 | #include "adc-imx233.h" | ||
22 | 23 | ||
23 | int imx233_adc_mapping[] = | 24 | int imx233_adc_mapping[] = |
24 | { | 25 | { |
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h b/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h index ea0102d5c1..b7fa5edc86 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h +++ b/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h | |||
@@ -21,10 +21,6 @@ | |||
21 | #ifndef _ADC_TARGET_H_ | 21 | #ifndef _ADC_TARGET_H_ |
22 | #define _ADC_TARGET_H_ | 22 | #define _ADC_TARGET_H_ |
23 | 23 | ||
24 | #include "system.h" | ||
25 | #include "lradc-imx233.h" | ||
26 | #include "adc-imx233.h" | ||
27 | |||
28 | #define NUM_ADC_CHANNELS 4 | 24 | #define NUM_ADC_CHANNELS 4 |
29 | 25 | ||
30 | #define ADC_BATTERY 0 | 26 | #define ADC_BATTERY 0 |
diff --git a/firmware/target/hosted/sdl/sim-ui-defines.h b/firmware/target/hosted/sdl/sim-ui-defines.h index db777e7821..d76ef124bf 100644 --- a/firmware/target/hosted/sdl/sim-ui-defines.h +++ b/firmware/target/hosted/sdl/sim-ui-defines.h | |||
@@ -287,6 +287,14 @@ | |||
287 | #define UI_LCD_POSX 39 /* x position of lcd */ | 287 | #define UI_LCD_POSX 39 /* x position of lcd */ |
288 | #define UI_LCD_POSY 38 /* y position of lcd */ | 288 | #define UI_LCD_POSY 38 /* y position of lcd */ |
289 | 289 | ||
290 | #elif defined(SANSA_FUZEPLUS) | ||
291 | #define UI_TITLE "Sansa Fuze+" | ||
292 | #define UI_WIDTH 323 /* width of GUI window */ | ||
293 | #define UI_HEIGHT 595 /* height of GUI window */ | ||
294 | #define UI_LCD_POSX 44 /* x position of lcd */ | ||
295 | #define UI_LCD_POSY 47 /* y position of lcd */ | ||
296 | |||
297 | |||
290 | #elif defined(SANSA_FUZE) || defined(SANSA_FUZEV2) | 298 | #elif defined(SANSA_FUZE) || defined(SANSA_FUZEV2) |
291 | #ifdef SANSA_FUZE | 299 | #ifdef SANSA_FUZE |
292 | #define UI_TITLE "Sansa Fuze" | 300 | #define UI_TITLE "Sansa Fuze" |