Skip to content

Commit 583cdd4

Browse files
committed
fix indentation
1 parent 37c20a3 commit 583cdd4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/companion_radio/DataStore.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ void DataStore::begin() {
4646

4747
#if defined(NRF52_PLATFORM) || defined(STM32_PLATFORM)
4848
int _countLfsBlock(void *p, lfs_block_t block){
49-
lfs_size_t *size = (lfs_size_t*) p;
50-
*size += 1;
51-
return 0;
49+
lfs_size_t *size = (lfs_size_t*) p;
50+
*size += 1;
51+
return 0;
5252
}
5353

5454
lfs_ssize_t _getLfsUsedBlockCount() {
@@ -68,8 +68,8 @@ uint32_t DataStore::getStorageUsedKb() const {
6868
return info.usedBytes / 1024;
6969
#elif defined(NRF52_PLATFORM) || defined(STM32_PLATFORM)
7070
const lfs_config* config = InternalFS._getFS()->cfg;
71-
int usedBlockCount = _getLfsUsedBlockCount();
72-
int usedBytes = config->block_size * usedBlockCount;
71+
int usedBlockCount = _getLfsUsedBlockCount();
72+
int usedBytes = config->block_size * usedBlockCount;
7373
return usedBytes / 1024;
7474
#else
7575
return 0;
@@ -86,7 +86,7 @@ uint32_t DataStore::getStorageTotalKb() const {
8686
return info.totalBytes / 1024;
8787
#elif defined(NRF52_PLATFORM) || defined(STM32_PLATFORM)
8888
const lfs_config* config = InternalFS._getFS()->cfg;
89-
int totalBytes = config->block_size * config->block_count;
89+
int totalBytes = config->block_size * config->block_count;
9090
return totalBytes / 1024;
9191
#else
9292
return 0;

0 commit comments

Comments
 (0)