HAL renaming & relocation (#215)
Implemented more consistent naming: - Moved all HAL devices into their own namespace (and related folder) - Post-fixed all HAL device names with "Device"
This commit is contained in:
committed by
GitHub
parent
a7a3b17ff6
commit
2345ba6d13
@@ -4,9 +4,9 @@
|
||||
#include "Tactility/file/File.h"
|
||||
#include "Tactility/service/loader/Loader.h"
|
||||
|
||||
#include "Tactility/hal/sdcard/SdCardDevice.h"
|
||||
#include <Tactility/Log.h>
|
||||
#include <Tactility/StringUtils.h>
|
||||
#include <Tactility/hal/SdCard.h>
|
||||
|
||||
#include "esp_elf.h"
|
||||
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
assert(elfFileData == nullptr);
|
||||
|
||||
size_t size = 0;
|
||||
hal::withSdCardLock<void>(filePath, [this, &size](){
|
||||
hal::sdcard::withSdCardLock<void>(filePath, [this, &size](){
|
||||
elfFileData = file::readBinary(filePath, size);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user