summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sd-as3525v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525v2.c')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 73816e5537..022bd13b41 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -46,10 +46,6 @@
46#include "disk.h" 46#include "disk.h"
47#endif 47#endif
48 48
49#if defined(SANSA_FUZEV2)
50#include "backlight-target.h"
51#endif
52
53#include "lcd.h" 49#include "lcd.h"
54#include <stdarg.h> 50#include <stdarg.h>
55#include "sysfont.h" 51#include "sysfont.h"
@@ -432,16 +428,6 @@ static bool send_cmd(const int drive, const int cmd, const int arg, const int fl
432 /*b23 | CMD_CCS_EXPECTED unused */ 428 /*b23 | CMD_CCS_EXPECTED unused */
433 /*b31 */ | CMD_DONE_BIT; 429 /*b31 */ | CMD_DONE_BIT;
434 430
435#if defined(SANSA_FUZEV2)
436 if (amsv2_variant == 0)
437 {
438 extern int buttonlight_is_on;
439 if(buttonlight_is_on)
440 _buttonlight_on();
441 else
442 _buttonlight_off();
443 }
444#endif
445 semaphore_wait(&command_completion_signal, TIMEOUT_BLOCK); 431 semaphore_wait(&command_completion_signal, TIMEOUT_BLOCK);
446 432
447 /* Handle command responses & errors */ 433 /* Handle command responses & errors */