diff options
Diffstat (limited to 'bootloader/xduoox3.c')
-rw-r--r-- | bootloader/xduoox3.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/bootloader/xduoox3.c b/bootloader/xduoox3.c index ff6b81aa25..ac2d648e61 100644 --- a/bootloader/xduoox3.c +++ b/bootloader/xduoox3.c | |||
@@ -160,25 +160,6 @@ static int boot_rockbox(void) | |||
160 | } | 160 | } |
161 | } | 161 | } |
162 | 162 | ||
163 | #if 0 | ||
164 | static void reset_configuration(void) | ||
165 | { | ||
166 | int rc; | ||
167 | |||
168 | rc = disk_mount_all(); | ||
169 | if (rc <= 0) | ||
170 | { | ||
171 | verbose = true; | ||
172 | error(EDISK,rc, true); | ||
173 | } | ||
174 | |||
175 | if(rename(ROCKBOX_DIR "/config.cfg", ROCKBOX_DIR "/config.old") == 0) | ||
176 | show_splash(HZ/2, "Configuration reset successfully!"); | ||
177 | else | ||
178 | show_splash(HZ/2, "Couldn't reset configuration!"); | ||
179 | } | ||
180 | #endif | ||
181 | |||
182 | int main(void) | 163 | int main(void) |
183 | { | 164 | { |
184 | int rc; | 165 | int rc; |