You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
364 B
22 lines
364 B
2 years ago
|
/*
|
||
|
* Copyright 2023 jacqueline <me@jacqueline.id.au>
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-3.0-only
|
||
|
*/
|
||
|
|
||
|
#include "service_locator.hpp"
|
||
|
|
||
|
#include <memory>
|
||
|
|
||
|
#include "nvs.hpp"
|
||
|
#include "touchwheel.hpp"
|
||
|
|
||
|
namespace system_fsm {
|
||
|
|
||
|
auto ServiceLocator::instance() -> ServiceLocator& {
|
||
|
static ServiceLocator sInstance{};
|
||
|
return sInstance;
|
||
|
}
|
||
|
|
||
|
} // namespace system_fsm
|