unleashed-firmware/applications/lfrfid-debug/lfrfid-debug-app.cpp

16 lines
464 B
C++
Raw Normal View History

#include "lfrfid-debug-app.h"
#include "scene/lfrfid-debug-app-scene-start.h"
#include "scene/lfrfid-debug-app-scene-tune.h"
LfRfidDebugApp::LfRfidDebugApp()
: scene_controller{this} {
}
LfRfidDebugApp::~LfRfidDebugApp() {
}
void LfRfidDebugApp::run() {
scene_controller.add_scene(SceneType::Start, new LfRfidDebugAppSceneStart());
scene_controller.add_scene(SceneType::TuneScene, new LfRfidDebugAppSceneTune());
scene_controller.process(100);
}