Welcome! Log In Create A New Profile

Advanced

Remaining time compile error

Posted by Gertfriend 
Remaining time compile error
January 11, 2021 08:14AM
Hello,

does anybody know what this errors mean:

sketch\src\lcd\HD44780\marlinui_HD44780.cpp: In function 'uint8_t draw_elapsed_or_remaining_time(uint8_t, bool)':
sketch\src\lcd\HD44780\marlinui_HD44780.cpp:711:35: error: 'class MarlinUI' has no member named 'get_remaining_time'
duration_t remaining = ui.get_remaining_time();

exit status 1
Fehler beim Kompilieren für das Board Arduino Mega or Mega 2560.

This error comes out when i enable #define USE_M73_REMAINING_TIME

I tried with Arduino IDE and Visual Studio.

The firmware used is the marlin-bugfix-2.0.X.

Thanks for any answer.
Re: Remaining time compile error
January 11, 2021 05:14PM
You have found a bug.

It should warn you when you enable USE_M73_REMAINING_TIME you must have also have LCD_SET_PROGRESS_MANUALLY to actually enable M73

Edited 2 time(s). Last edit at 01/11/2021 05:20PM by Dust.
Re: Remaining time compile error
January 11, 2021 06:17PM
I have created a PR to fix this
[github.com]
Re: Remaining time compile error
January 12, 2021 05:38AM
Thank you very much. Now its working.
Sorry, only registered users may post in this forum.

Click here to login