Fix compiler warning sketch/ultralcd.cpp:2533:7: warning: unused variable '_cm' [-Wunused-variable]
This commit is contained in:
parent
bf8808ce22
commit
1898ef9896
1 changed files with 0 additions and 1 deletions
|
@ -2530,7 +2530,6 @@ void lcd_menu_statistics()
|
||||||
if (IS_SD_PRINTING)
|
if (IS_SD_PRINTING)
|
||||||
{
|
{
|
||||||
float _met = ((float)total_filament_used) / (100000.f);
|
float _met = ((float)total_filament_used) / (100000.f);
|
||||||
int _cm = (total_filament_used - (_met * 100000)) / 10;
|
|
||||||
int _t = (millis() - starttime) / 1000;
|
int _t = (millis() - starttime) / 1000;
|
||||||
int _h = _t / 3600;
|
int _h = _t / 3600;
|
||||||
int _m = (_t - (_h * 3600)) / 60;
|
int _m = (_t - (_h * 3600)) / 60;
|
||||||
|
|
Loading…
Reference in a new issue