@@ -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