1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Fix PID_dT

Add PID_dT in temeprature.cpp
This commit is contained in:
MagoKimbra 2015-01-25 17:56:14 +01:00
parent ef5959a705
commit 3021f7f743

View File

@ -38,8 +38,15 @@
//===========================================================================
//=============================public variables============================
//============================= public variables ============================
//===========================================================================
// Sampling period of the temperature routine
#ifdef PID_dT
#undef PID_dT
#endif
#define PID_dT ((OVERSAMPLENR * 12.0)/(F_CPU / 64.0 / 256.0))
int target_temperature[EXTRUDERS] = { 0 };
int target_temperature_bed = 0;
int current_temperature_raw[EXTRUDERS] = { 0 };