FIx Pointer
This commit is contained in:
parent
85a4c3bda6
commit
e3cb619410
@ -135,8 +135,13 @@ namespace esphome {
|
|||||||
|
|
||||||
//Parse Printitme
|
//Parse Printitme
|
||||||
if(MarlinOutput.find("echo:Print time: ") == 0) {
|
if(MarlinOutput.find("echo:Print time: ") == 0) {
|
||||||
float d=0, h=0, m=0, s=0;
|
float d=0;
|
||||||
unsigned long current=0, remaining=0;
|
float h=0;
|
||||||
|
float m=0;
|
||||||
|
float s=0;
|
||||||
|
|
||||||
|
unsigned long current=0;
|
||||||
|
unsigned long remaining=0;
|
||||||
|
|
||||||
if (process_print_time_msg(d, h, m, s, current, remaining) != 0) {
|
if (process_print_time_msg(d, h, m, s, current, remaining) != 0) {
|
||||||
if (find_sensor("print_time") != nullptr)
|
if (find_sensor("print_time") != nullptr)
|
||||||
|
Loading…
Reference in New Issue
Block a user