You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TFT Firmware Version & Main Board Firmware details
Latest release (2023-06-05)
Additional Information
The issue seems to be in PersistentInfo.c
uint8_t tmpHeater[3]; // chamber, bed, hotend
uint8_t tmpIndex = 0;
if (infoSettings.hotend_count) // global hotend
tmpHeater[tmpIndex++] = heatGetCurrentHotend();
if (infoSettings.bed_en) // global bed
tmpHeater[tmpIndex++] = BED;
if (infoSettings.chamber_en) // global chamber
tmpHeater[tmpIndex++] = CHAMBER;
bool update = false;
static int16_t lastCurrent[3];
static int16_t lastTarget[3];
for (int8_t i = tmpIndex - 1; i >= 0; i--)
{
int16_t actCurrent = heatGetCurrentTemp(tmpHeater[i]);
int16_t actTarget = heatGetTargetTemp(tmpHeater[i]);
if (lastCurrent[i] != actCurrent || lastTarget[i] != actTarget)
{
lastCurrent[i] = actCurrent;
lastTarget[i] = actTarget;
update = true;
}
}
To check if an update of the persistent info is needed, only the E0 temp/target, bed temp/target and chamber temp/target are used, not the E1 temp/target.
The text was updated successfully, but these errors were encountered:
Description
I noticed that under certain conditions the persistent info is not updating.
Steps to reproduce
Expected behavior
Persistent temp updates correctly
Actual behavior
E1 temp is not updated
Hardware Variant
BTT TFT35 V3.0
TFT Firmware Version & Main Board Firmware details
Latest release (2023-06-05)
Additional Information
The issue seems to be in PersistentInfo.c
To check if an update of the persistent info is needed, only the E0 temp/target, bed temp/target and chamber temp/target are used, not the E1 temp/target.
The text was updated successfully, but these errors were encountered: