Skip to content
Snippets Groups Projects
Commit cdc6f17d authored by Fabrice Weinberg's avatar Fabrice Weinberg
Browse files

Add getter for ui state

parent 499b9a56
No related branches found
No related tags found
No related merge requests found
......@@ -89,12 +89,8 @@ void SSD1306Ui::previousFrame() {
// -/----- State information -----\-
FrameState SSD1306Ui::getFrameState(){
return this->state.frameState;
}
int SSD1306Ui::getCurrentFrame(){
return this->state.currentFrame;
SSD1306UiState SSD1306Ui::getUiState(){
return this->state;
}
......
......@@ -199,7 +199,7 @@ class SSD1306Ui {
void previousFrame();
// State Info
FrameState getUiState();
SSD1306UiState getUiState();
int update();
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment