Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
c53c9099
Commit
c53c9099
authored
1 year ago
by
q3k
Browse files
Options
Downloads
Patches
Plain Diff
recovery: do not mount /flash
How did that get here.
parent
f5d1eca4
No related branches found
No related tags found
No related merge requests found
Pipeline
#6011
passed
1 year ago
Stage: check
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recovery/main/rec_main.c
+1
-6
1 addition, 6 deletions
recovery/main/rec_main.c
with
1 addition
and
6 deletions
recovery/main/rec_main.c
+
1
−
6
View file @
c53c9099
...
...
@@ -73,6 +73,7 @@ static void _main_erase_fat32(void) {
rec_erasing_draw
();
esp_err_t
ret
=
st3m_fs_flash_erase
();
if
(
ret
!=
ESP_OK
)
{
ESP_LOGE
(
TAG
,
"Erase failed: %s"
,
esp_err_to_name
(
ret
));
rec_fatal
(
"Erase failed"
);
}
_cur_menu
=
&
_erasedone_menu
;
...
...
@@ -266,12 +267,6 @@ void app_main(void) {
st3m_io_init
();
st3m_fs_init
();
esp_err_t
err
;
if
((
err
=
st3m_fs_flash_mount
())
!=
ESP_OK
)
{
ESP_LOGW
(
TAG
,
"Failed to mount FAT FS: %s"
,
esp_err_to_name
(
err
));
_main_menu_entries
[
0
].
disabled
=
true
;
}
if
(
st3m_fs_sd_get_status
()
!=
st3m_fs_sd_status_probed
)
{
_main_menu_entries
[
3
].
disabled
=
true
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment