Skip to content

Commit 7f66d11

Browse files
author
j000bs
committed
Remove commented out code in displays.cpp
1 parent fbaffeb commit 7f66d11

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/displays.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -161,27 +161,10 @@ void SSD1306DisplayDevice::showBatterieValue(int16_t input_val){
161161
xlocation += 1;
162162
}
163163

164-
//cleanGridCellcomplete(3,0);
165-
166-
/* if(input_val == -1){
167-
cleanBattery(x_offset_batterie_logo, y_offset_batterie_logo);
168-
m_display->drawXbm(x_offset_batterie_logo, y_offset_batterie_logo, 8, 9, BatterieLogo6);
169-
m_display->setColor(BLACK);
170-
this->showTextOnGrid(3, 0, " " + String(0) + "%", Dialog_plain_8,3,0);
171-
m_display->setColor(WHITE);
172-
m_display->display();
173-
this->showTextOnGrid(3, 0, "calc", Dialog_plain_8,6,0);
174-
}else{
175-
m_display->setColor(BLACK);
176-
this->showTextOnGrid(3, 0, "calc", Dialog_plain_8,6,0);
177-
m_display->setColor(WHITE);
178-
m_display->display();
179-
} */
180164
if(input_val >= 0){
181165
String val = String(input_val);
182166
//showLogo(true);
183167
this->showTextOnGrid(xlocation, 0, val + "%", TINY_FONT, 6, 0);
184-
//m_display[0]->drawXbm(192, 0, 8, 9, BatterieLogo1);
185168

186169
if(input_val > 90){
187170
cleanBattery(x_offset_batterie_logo, y_offset_batterie_logo);

0 commit comments

Comments
 (0)