summaryrefslogtreecommitdiff
path: root/src/drivers/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/include')
-rw-r--r--src/drivers/include/bluetooth_types.hpp4
-rw-r--r--src/drivers/include/fatfs_audio_input.hpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/drivers/include/bluetooth_types.hpp b/src/drivers/include/bluetooth_types.hpp
index 12ed5cb3..7e26f0d7 100644
--- a/src/drivers/include/bluetooth_types.hpp
+++ b/src/drivers/include/bluetooth_types.hpp
@@ -4,6 +4,8 @@
#include <array>
#include <string>
+#include "memory_resource.hpp"
+
namespace drivers {
namespace bluetooth {
@@ -11,7 +13,7 @@ typedef std::array<uint8_t, 6> mac_addr_t;
struct Device {
mac_addr_t address;
- std::string name;
+ std::pmr::string name;
uint32_t class_of_device;
int8_t signal_strength;
};
diff --git a/src/drivers/include/fatfs_audio_input.hpp b/src/drivers/include/fatfs_audio_input.hpp
index e1f62811..705f6e7d 100644
--- a/src/drivers/include/fatfs_audio_input.hpp
+++ b/src/drivers/include/fatfs_audio_input.hpp
@@ -39,7 +39,7 @@ class FatfsAudioInput {
std::shared_ptr<SdStorage> storage_;
RingbufHandle_t output_;
- std::string path_;
+ std::pmr::string path_;
};
} // namespace drivers