Skip to content

Commit 3ba9f76

Browse files
committed
database: use explicit scope for read/update to avoid linting issues
1 parent 263a5b0 commit 3ba9f76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/firmware/application/database/Database.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@ uint16_t database::Admin::readSystemBlock(size_t index)
405405
uint16_t value = 0;
406406

407407
SYSTEM_BLOCK_ENTER(
408-
value = read(0,
409-
static_cast<uint8_t>(Config::Section::system_t::SYSTEM_SETTINGS),
410-
index);)
408+
value = LESSDB::read(0,
409+
static_cast<uint8_t>(Config::Section::system_t::SYSTEM_SETTINGS),
410+
index);)
411411

412412
return value;
413413
}
@@ -417,7 +417,7 @@ bool database::Admin::updateSystemBlock(size_t index, uint16_t value)
417417
bool retVal = false;
418418

419419
SYSTEM_BLOCK_ENTER(
420-
retVal = update(0, static_cast<uint8_t>(Config::Section::system_t::SYSTEM_SETTINGS), index, value);)
420+
retVal = LESSDB::update(0, static_cast<uint8_t>(Config::Section::system_t::SYSTEM_SETTINGS), index, value);)
421421

422422
return retVal;
423423
}

0 commit comments

Comments
 (0)