diff options
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r-- | firmware/rolo.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index 266ba79e69..d432642d9d 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -275,6 +275,13 @@ int rolo_load(const char* filename) | |||
275 | /* Set CVDD1 power supply to default*/ | 275 | /* Set CVDD1 power supply to default*/ |
276 | ascodec_write_pmu(0x17, 1, 0); | 276 | ascodec_write_pmu(0x17, 1, 0); |
277 | #endif | 277 | #endif |
278 | #if defined(SANSA_FUZEV2) || defined(SANSA_CLIPPLUS) || defined(SANSA_CLIPZIP) | ||
279 | /* It is necessary for proper detection AMSv2 variant 1. | ||
280 | * We should restore initial state of GPIOB_PIN(5) as it used for | ||
281 | * variant detection, but can be changed if we switch SD card. */ | ||
282 | if (amsv2_variant == 1) | ||
283 | GPIOB_PIN(5) = 1 << 5; | ||
284 | #endif | ||
278 | 285 | ||
279 | #if CONFIG_CPU != IMX31L /* We're not finished yet */ | 286 | #if CONFIG_CPU != IMX31L /* We're not finished yet */ |
280 | #ifdef CPU_ARM | 287 | #ifdef CPU_ARM |