mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
Update FormatSDCardActivity.cpp
This commit is contained in:
parent
6a7b42cb03
commit
1cb59eba90
@ -97,9 +97,8 @@ void FormatSDCardActivity::loop() {
|
||||
if (mappedInput.wasPressed(MappedInputManager::Button::Confirm)) {
|
||||
xSemaphoreTake(renderingMutex, portMAX_DELAY);
|
||||
state = FORMATTING;
|
||||
render(); // Render synchronously to show "Formatting..." before we start
|
||||
xSemaphoreGive(renderingMutex);
|
||||
updateRequired = true;
|
||||
vTaskDelay(10 / portTICK_PERIOD_MS);
|
||||
performFormat();
|
||||
}
|
||||
if (mappedInput.wasPressed(MappedInputManager::Button::Back)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user