Skip to content
Prev Previous commit
storage_common: fix signed comparison
  • Loading branch information
pennam committed Feb 24, 2025
commit e8858c0dd62a648cc9908659c51e8ced239751af
6 changes: 3 additions & 3 deletions libraries/Storage/storage_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
extern "C" {
#endif

//#define STORAGE_DEBUG
//#define STORAGE_ASSERT
#define STORAGE_DEBUG
#define STORAGE_ASSERT

/* -------------------------------------------------------------------------- */
/* STORAGE DEBUG */
Expand Down Expand Up @@ -61,7 +61,7 @@ static inline void rns_storage_dbg_mem(uint8_t *b, uint32_t _size)
{
if (b != nullptr) {
Serial.println("");
for(int i = 0; i < _size; i++) {
for(uint32_t i = 0; i < _size; i++) {
if(i != 0 && i % PRINT_SIZE == 0) {
if(i != 0)
Serial.println();
Expand Down
Loading