mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Fixes LED color bug in the following scenario: Plug the device, reset, back, unplug the device, select language -> The led is lit up
26 lines
466 B
C++
26 lines
466 B
C++
#ifndef APPS_LOGO_CONTROLLER_H
|
|
#define APPS_LOGO_CONTROLLER_H
|
|
|
|
#include <escher.h>
|
|
#include "logo_view.h"
|
|
|
|
namespace OnBoarding {
|
|
|
|
class LogoController : public ViewController, public Timer {
|
|
public:
|
|
LogoController();
|
|
View * view() override { return &m_logoView; }
|
|
void viewWillAppear() override;
|
|
void viewDidDisappear() override;
|
|
private:
|
|
bool fire() override;
|
|
LogoView m_logoView;
|
|
KDColor m_previousLEDColor;
|
|
bool m_didPerformTests;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|