Properly read and write registers

This commit is contained in:
momo5502
2025-01-19 10:18:45 +01:00
parent 192d5687ff
commit 77b4ee5e1e
7 changed files with 43 additions and 47 deletions

View File

@@ -109,7 +109,7 @@ namespace utils::string
return to_hex_string(&i, sizeof(Integer), uppercase);
}
inline std::string to_hex_string(const std::span<std::byte> data, const bool uppercase = false)
inline std::string to_hex_string(const std::span<const std::byte> data, const bool uppercase = false)
{
return to_hex_string(data.data(), data.size(), uppercase);
}