unPhone implementation and more (#169)
- Implemented [unPhone](https://unphone.net/) v9 board - Updated `.clang-format` to better reflect the intended code style - Fix SD card compatibility issues for all boards (frequency wasn't set well) - Moved `I2cDevice` class from CoreS3 board project to TactilityHeadless project - Tactility configuration now has default empty lists for apps and services fields - Fix for Launcher app: we don't need padding when showing it vertically - Fix for I2cDevice read/write calls that checked for `esp_err_t` instead of `bool` - Fix for TinyUSB init that checked for `esp_err_t` instead of `bool`
This commit is contained in:
committed by
GitHub
parent
3ea02d912f
commit
72230129bb
@@ -60,13 +60,12 @@ bool startMassStorageWithSdmmc() {
|
||||
return false;
|
||||
}
|
||||
|
||||
auto result = tusbStartMassStorageWithSdmmc();
|
||||
if (result != ESP_OK) {
|
||||
TT_LOG_E(TAG, "Failed to init mass storage: %s", esp_err_to_name(result));
|
||||
return false;
|
||||
} else {
|
||||
if (tusbStartMassStorageWithSdmmc()) {
|
||||
currentMode = Mode::MassStorageSdmmc;
|
||||
return true;
|
||||
} else {
|
||||
TT_LOG_E(TAG, "Failed to init mass storage");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user