Skip to content

Commit 834d34d

Browse files
committed
Renamed/Fixed CleanUp() in header file
1 parent b3964fd commit 834d34d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/displayapp/screens/Adder.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Adder::Adder(Pinetime::Components::LittleVgl& lvgl, Controllers::FS& fs) : lvgl(
1010
}
1111

1212
Adder::~Adder() {
13-
Cleanup();
13+
CleanUp();
1414
}
1515

1616
void Adder::InitializeGame() {
@@ -46,7 +46,7 @@ void Adder::InitializeGame() {
4646
vTaskDelay(20);
4747
}
4848

49-
void Adder::Cleanup() {
49+
void Adder::CleanUp() {
5050
delete[] field;
5151
delete[] tileBuffer;
5252
if (refreshTask) {

src/displayapp/screens/Adder.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,13 @@ namespace Pinetime {
7777
void InitializeBody();
7878
void CreateFood();
7979
void CreateLevel();
80-
80+
8181
void UpdatePosition();
8282
void FullRedraw();
8383
void UpdateSingleTile(unsigned int fieldX, unsigned int fieldY, lv_color_t color);
8484
void UpdateScore(unsigned int score);
8585
void GameOver();
86+
void CleanUp();
8687

8788
MoveConsequence CheckMove() const;
8889

0 commit comments

Comments
 (0)