Skip to content

Commit d06259f

Browse files
Removed redundant logs
1 parent 3fa7fca commit d06259f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Firmware/filesystem/filesystem/filesystem_holder.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ template <typename TBlockDeviceEntity> class Holder
5050

5151
auto error = co_await lfs_mount(&m_fsInstance, &m_fsConfig);
5252

53-
LOG_DEBUG(fmt::format("lfs_mount error is ", error));
53+
LOG_DEBUG(fmt::format("lfs_mount error is {}", error));
5454
if (error)
5555
{
5656
co_await lfs_format(&m_fsInstance, &m_fsConfig);
@@ -89,7 +89,6 @@ template <typename TBlockDeviceEntity> class Holder
8989
void* buffer,
9090
lfs_size_t size) noexcept
9191
{
92-
LOG_DEBUG("FS: read call");
9392
auto pThis = reinterpret_cast<This_t*>(c->context);
9493
co_await pThis->getBlockDevice().read(
9594
static_cast<std::uint8_t*>(buffer), block * c->block_size + off, size);
@@ -103,7 +102,6 @@ template <typename TBlockDeviceEntity> class Holder
103102
const void* buffer,
104103
lfs_size_t size) noexcept
105104
{
106-
LOG_DEBUG("FS: prog call");
107105
auto pThis = reinterpret_cast<This_t*>(c->context);
108106
co_await pThis->getBlockDevice().write(
109107
(block * c->block_size + off), reinterpret_cast<const std::uint8_t*>(buffer), size);
@@ -113,7 +111,6 @@ template <typename TBlockDeviceEntity> class Holder
113111

114112
static CoroUtils::Task<int> eraseCall(const lfs_config* c, lfs_block_t block) noexcept
115113
{
116-
LOG_DEBUG("FS: erase call");
117114
auto pThis = reinterpret_cast<This_t*>(c->context);
118115
co_return LFS_ERR_OK;
119116
}

0 commit comments

Comments
 (0)