mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 17:19:29 +00:00
Improve SD Card Status Display and Error Handling (#3079)
Summary: Fixed SD card mount error detection by enabling immediate mounting, made the status icon clickable to access settings, and added real-time status display (including filesystem type) in the SD card settings page. Changes: - Changed f_mount() to immediate mounting for error detection - Made SD card status icon clickable, linking to an enhanced sd card settings page that now includes live display of card status and filesystem type - Removed "SDCard Error" menu item
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
#include "theme.hpp"
|
||||
#include "ui_widget.hpp"
|
||||
#include "sd_card.hpp"
|
||||
#include <functional>
|
||||
|
||||
namespace ui {
|
||||
|
||||
class SDCardStatusView : public Image {
|
||||
class SDCardStatusView : public ImageButton {
|
||||
public:
|
||||
SDCardStatusView(const Rect parent_rect);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user