Skip to content

Commit

Permalink
Ender-5 S1 CI Test
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed May 7, 2024
1 parent 81189b6 commit 9bf140d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
- Opulo_Lumen_REV3
- rumba32
- STM32F401RC_creality
- STM32F401RE_creality
- STM32F407VE_black
- I3DBEEZ9_V1

Expand Down
5 changes: 3 additions & 2 deletions Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,8 @@ volatile bool Temperature::raw_temps_ready = false;
int cycles = 0;
bool heating = true;

millis_t next_temp_ms = millis(), t1 = next_temp_ms, t2 = next_temp_ms;
millis_t next_temp_ms, t1, t2;
next_temp_ms = t1 = t2 = millis();
long t_high = 0, t_low = 0;

raw_pid_t tune_pid = { 0, 0, 0 };
Expand Down Expand Up @@ -853,7 +854,7 @@ volatile bool Temperature::raw_temps_ready = false;
_TEMP_ERROR(heater_id, FPSTR(str_t_heating_failed), MSG_ERR_HEATING_FAILED, current_temp);
}
}
else if (current_temp < target - (MAX_OVERSHOOT_PID_AUTOTUNE)) // Heated, then temperature fell too far?
else if (current_temp < target - (MAX_OVERSHOOT_PID_AUTOTUNE)) { // Heated, then temperature fell too far?
TERN_(CREALITY_RTS, RTS_Error(heater_id == H_BED ? Error_10 : Error_07));
_TEMP_ERROR(heater_id, FPSTR(str_t_thermal_runaway), MSG_ERR_THERMAL_RUNAWAY, current_temp);
}
Expand Down
13 changes: 13 additions & 0 deletions buildroot/tests/STM32F401RE_creality
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
#
# Build tests for STM32F401RE_creality
#

# exit on first failure
set -e

use_example_configs "Creality/Ender-5 S1"
exec_test $1 $2 "Ender-5 S1" "$3"

# clean up
restore_configs

0 comments on commit 9bf140d

Please sign in to comment.