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:
Ken Van Hoeylandt
2025-02-09 16:48:23 +01:00
committed by GitHub
parent a7a3b17ff6
commit 2345ba6d13
62 changed files with 263 additions and 250 deletions
@@ -1,12 +1,12 @@
#pragma once
#include <Tactility/hal/SdCard.h>
#include "Tactility/hal/sdcard/SdCardDevice.h"
#include <Tactility/Mutex.h>
#include <memory>
using namespace tt::hal;
using tt::hal::sdcard::SdCardDevice;
class SimulatorSdCard final : public SdCard {
class SimulatorSdCard final : public SdCardDevice {
private:
@@ -16,7 +16,7 @@ private:
public:
SimulatorSdCard() : SdCard(MountBehaviour::AtBoot),
SimulatorSdCard() : SdCardDevice(MountBehaviour::AtBoot),
state(State::Unmounted),
lockable(std::make_shared<tt::Mutex>())
{}