diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-05 09:38:13 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-12 18:25:10 +0000 |
commit | 7554a49309fe31e69747c64caa28b4303270481b (patch) | |
tree | 0712f67d4e7d3b7ae4b33709f4a1f7e426c5210b /bootloader/SOURCES | |
parent | 905591215fdad421f9985ad846b082b86a9ed0b7 (diff) | |
download | rockbox-7554a49309fe31e69747c64caa28b4303270481b.tar.gz rockbox-7554a49309fe31e69747c64caa28b4303270481b.zip |
x1000: bootloader: refactor init_disk
Add check_disk() to query the disk insertion status and prompt the
user if necessary. Use this in place of init_disk().
Perform an unconditional disk_mount_all() from the main function.
Change-Id: I9a8cc42266edf99cd15ece3aee8fa25835df04ae
Diffstat (limited to 'bootloader/SOURCES')
-rw-r--r-- | bootloader/SOURCES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES index 16391f8528..95836eb016 100644 --- a/bootloader/SOURCES +++ b/bootloader/SOURCES | |||
@@ -93,4 +93,5 @@ x1000/boot.c | |||
93 | x1000/gui.c | 93 | x1000/gui.c |
94 | x1000/install.c | 94 | x1000/install.c |
95 | x1000/recovery.c | 95 | x1000/recovery.c |
96 | x1000/utils.c | ||
96 | #endif | 97 | #endif |