Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmicro committed Sep 23, 2023
1 parent bdbdae7 commit d45f537
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion include/apps/tools/OswAppFlashLight.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class OswAppFlashLight : public OswAppV2 {
const OswIcon& getAppIcon() override;

void onStart() override;
void onLoop() override;
void onDraw() override;
void onStop() override;

Expand Down
5 changes: 0 additions & 5 deletions src/apps/tools/OswAppFlashLight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ void OswAppFlashLight::onStart() {
this->knownButtonStates[Button::BUTTON_DOWN] = ButtonStateNames::SHORT_PRESS;
}

void OswAppFlashLight::onLoop() {
OswAppV2::onLoop();
}

void OswAppFlashLight::onDraw() {
OswAppV2::onDraw();

Expand All @@ -51,7 +47,6 @@ void OswAppFlashLight::onDraw() {
this->hal->gfx()->setTextColor(ui->getForegroundColor());
this->hal->gfx()->print("Flashlight");
}

}

void OswAppFlashLight::onButton(Button id, bool up, OswAppV2::ButtonStateNames state) {
Expand Down

0 comments on commit d45f537

Please sign in to comment.