Update FormatSDCardActivity.cpp

This commit is contained in:
Stanislav Khromov 2026-01-15 00:47:23 +01:00
parent 6a7b42cb03
commit 1cb59eba90

View File

@ -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)) {