BrewPi / firmware

Brewing temperature control firmware for the BrewPi Spark (Particle Photon inside)
http://www.brewpi.com
GNU Affero General Public License v3.0
97 stars 55 forks source link

Sort constraints so balancer and mutex are last #104

Closed elcojacobs closed 5 years ago

elcojacobs commented 5 years ago

To request only the maximum value under other constraints from the balancer, it should be the last constraint in the list. Same goes for the mutex to not lock/unlock it unnecessarily. This change also allows early exit when checking digital constraints.