mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-30 17:01:54 -05:00
[EGD-3040] DatabaseModel element calculation fix.
This commit is contained in:
committed by
PrzeBrudny
parent
d19daa724b
commit
9b7210ad3a
@@ -19,10 +19,7 @@ NotesModel::~NotesModel()
|
||||
|
||||
void NotesModel::requestRecordsCount()
|
||||
{
|
||||
uint32_t start = xTaskGetTickCount();
|
||||
recordsCount = DBServiceAPI::NotesGetCount(application);
|
||||
uint32_t stop = xTaskGetTickCount();
|
||||
LOG_INFO("DBServiceAPI::NotesGetCount %d records %" PRIu32 " ms", recordsCount, stop - start);
|
||||
|
||||
// request first and second page if possible
|
||||
if (recordsCount > 0) {
|
||||
|
||||
Reference in New Issue
Block a user