~aleteoryx/muditaos

ref: de22ef39992ee7b5cf574c14076a56d662f3467e muditaos/module-db/Databases/EventsDB.cpp -rw-r--r-- 318 bytes
de22ef39 — Lukasz Skrzypczak [EGD-6576] WiP I2C HAL API need to be modified 4 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;
}