~aleteoryx/muditaos

ref: 3c813add9ee564784699a4c44464ac1cd50dc098 muditaos/module-db/Databases/EventsDB.cpp -rw-r--r-- 318 bytes
3c813add — Marek Niepieklo [EGD-6237] Add memory clearing of MTP database storage 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "EventsDB.hpp"

EventsDB::EventsDB(const char *name) : Database(name), events(this)
{
    if (events.create() == false) {
        return;
    }
    isInitialized_ = true;
}