Automatic error detection

This commit is contained in:
Riku Isokoski
2021-08-18 15:23:30 +03:00
parent 9c175e2f0c
commit 780a811f05
10 changed files with 121 additions and 9 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include "Screen.h"
#include "BootErrors.h"
#include <lvgl/lvgl.h>
namespace Pinetime {
namespace Applications {
namespace Screens {
class Error : public Screen {
public:
Error(DisplayApp* app, System::BootErrors error);
~Error() override;
bool Refresh() override;
void ButtonEventHandler();
private:
lv_obj_t* btnOk;
};
}
}
}