Prusa MINI Firmware overview
heater_watch_t Struct Reference

#include <temperature.h>

Collaboration diagram for heater_watch_t:

Public Member Functions

bool elapsed (const millis_t &ms)
 
bool elapsed ()
 

Public Attributes

uint16_t target
 
millis_t next_ms
 

Member Function Documentation

◆ elapsed() [1/2]

bool heater_watch_t::elapsed ( const millis_t ms)
211 { return next_ms && ELAPSED(ms, next_ms); }

◆ elapsed() [2/2]

bool heater_watch_t::elapsed ( )
212 { return elapsed(millis()); }
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ target

uint16_t heater_watch_t::target

◆ next_ms

millis_t heater_watch_t::next_ms
millis
uint32_t millis(void)
Definition: wiring_time.c:29
heater_watch_t::next_ms
millis_t next_ms
Definition: temperature.h:210
ELAPSED
#define ELAPSED(NOW, SOON)
Definition: millis_t.h:29
heater_watch_t::elapsed
bool elapsed()
Definition: temperature.h:212