Fix CHAMBER_MAXTEMP security margin (#16600)

This commit is contained in:
Giuliano Zaro authored and Scott Lahteine committed 2020-01-20 00:44:51 -06:00
1 parent d9cdb4ae19
commit ef8f829513
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -711,7 +711,7 @@ class Temperature {
static void setTargetChamber(const int16_t celsius) {
temp_chamber.target =
#ifdef CHAMBER_MAXTEMP
_MIN(celsius, CHAMBER_MAXTEMP)
_MIN(celsius, CHAMBER_MAXTEMP - 10)
#else
celsius
#endif