The PID algorithm did not cache the last seen temperature until it entered the PID_FUNCTIONAL_RANGE. This caused an incorrect output power to be calculated temporarily while the algorithm caught up.
This has likely always been a problem for bed and chamber PID. For the hotend this error was introduced in refactoring in commit 54e7b933cd.
* Fix the compile error with the case light menu
Fix the compile error with the case light menu
* Add failing test
---------
Co-authored-by: Jason Smith <jason.inet@gmail.com>
* Add Dagoma D6 board as used in their DiscoUltimate v2 TMC.
Taken from the Dagoma fork of Marlin DU_MC branch where it is called FYSETC_DAGOMA_F5 and explicitly confirmed by Dagoma as being the D6:
"the BOARD_FYSETC_DAGOMA_F5 is effectively the definition for the D6"
---------
Co-authored-by: thisiskeithb <13375512+thisiskeithb@users.noreply.github.com>
Co-authored-by: Orel <37673727+0r31@users.noreply.github.com>
* fix meatpack on hc32
* add support for SERIAL_DMA on HC32
* add additional checks in HC32 HAL
* migrate HC32 HAL to use app_config.h
* fix memory leak in HC32 sdio HAL
https://github.com/MarlinFirmware/Marlin/pull/26845#issuecomment-1980218771
* hc32: fail if both EMERGENCY_PARSER and SERIAL_DMA are enabled
* Revert all the changes that went in with the unit test framework
This restored broken links and other changes. Restoring to the prior revision seems the most appropriate action until the intentions of those file changes are known.
---------
Co-authored-by: Jason Smith <jason.inet@gmail.com>
- Add a framework to build and execute unit tests for Marlin.
- Enable unit test execution as part of PR checks.
---------
Co-authored-by: Costas Basdekis <costas.basdekis@gmail.com>
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>