summaryrefslogtreecommitdiffstats
path: root/bootloader/ipod6g.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-13 14:43:29 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-13 15:48:31 -0400
commitb94db707fb7a8ace5c8821ea47d85ec48ca48e26 (patch)
tree9b0128bd96c8765a8e7abdbe9062e6bcd397da69 /bootloader/ipod6g.c
parent431caa4311c13a0937ae60ac225e780c0a0670b9 (diff)
downloadrockbox-b94db707fb.tar.gz
rockbox-b94db707fb.tar.bz2
rockbox-b94db707fb.zip
Fix more warnings.
Change-Id: Ib3a9fc622a46b1fc72e94dcbc6d29d2e430cd81b
Diffstat (limited to 'bootloader/ipod6g.c')
-rw-r--r--bootloader/ipod6g.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootloader/ipod6g.c b/bootloader/ipod6g.c
index 0d0a4c53d1..30db29c783 100644
--- a/bootloader/ipod6g.c
+++ b/bootloader/ipod6g.c
@@ -326,7 +326,7 @@ static bool pmu_is_hibernated(void)
*/
void main(void)
{
- int fw = FW_ROCKBOX;
+// int fw = FW_ROCKBOX;
int rc = 0;
unsigned char *loadbuffer;
int (*kernel_entry)(void);
@@ -337,7 +337,7 @@ void main(void)
i2c_preinit(0);
if (pmu_is_hibernated()) {
- fw = FW_APPLE;
+// fw = FW_APPLE;
rc = launch_onb(1); /* 27/2 = 13.5 MHz. */
}
@@ -375,7 +375,7 @@ void main(void)
if ((btn == BUTTON_MENU)
|| (btn == (BUTTON_SELECT|BUTTON_LEFT))
|| (btn == (BUTTON_SELECT|BUTTON_PLAY))) {
- fw = FW_APPLE;
+// fw = FW_APPLE;
rc = kernel_launch_onb();
}
}
@@ -410,7 +410,7 @@ void main(void)
/* We wait until HDD spins up to check for hold button */
if (button_hold()) {
- fw = FW_APPLE;
+// fw = FW_APPLE;
printf("Executing OF...");
ata_sleepnow();
rc = kernel_launch_onb();