2a2558b29a
- Added generic GPS/GNSS support with device detection, configuration, and persistent settings. - Improved device and module lifecycle management. - Added flexible filesystem locking support for displays and storage. - Improved display-idle and keyboard backlight handling. - Updated architecture, driver, module, testing, and licensing documentation. - Removed old HAL device and related code.
17 lines
357 B
C++
17 lines
357 B
C++
#include <tactility/device.h>
|
|
#include <tactility/drivers/sdcard.h>
|
|
|
|
namespace tt::hal::sdcard {
|
|
|
|
void startAll() {
|
|
device_for_each_of_type(&SDCARD_TYPE, nullptr, [](::Device* device, void*) -> bool {
|
|
if (!device_is_ready(device)) {
|
|
if (device_start(device) != ERROR_NONE) {
|
|
}
|
|
}
|
|
return true;
|
|
});
|
|
}
|
|
|
|
}
|