mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 07:05:38 +08:00
Ref T189, use blink to indicate reading
SetOn with reset time is now private
This commit is contained in:
@@ -63,7 +63,7 @@ namespace BlackGui
|
||||
bool value() const { return m_state; }
|
||||
|
||||
//! Allows to set the led value {true, false}
|
||||
void setOn(bool on, int resetTimeMs = -1);
|
||||
void setOn(bool on) { this->setOn(on, -1); }
|
||||
|
||||
//! Set to on for resetTimeMs
|
||||
void blink(int resetTimeMs = 500);
|
||||
@@ -156,6 +156,9 @@ namespace BlackGui
|
||||
//! Init
|
||||
void init();
|
||||
|
||||
//! Allows to set the led value {true, false}
|
||||
void setOn(bool on, int resetTimeMs);
|
||||
|
||||
//! Reset the state
|
||||
void resetState();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user