MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / ready

Method ready

Marlin/src/module/temperature.cpp:4047–4054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4045 uint8_t state_timer_heater;
4046 inline void dec() { if (state_timer_heater > 0) state_timer_heater--; }
4047 inline bool ready(const bool v) {
4048 const bool rdy = !state_timer_heater;
4049 if (rdy && state_heater != v) {
4050 state_heater = v;
4051 state_timer_heater = MIN_STATE_TIME;
4052 }
4053 return rdy;
4054 }
4055 #endif
4056};
4057

Callers 3

FFunction · 0.45
webmarlin.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected