void buttonStopHeatProcess_PopCallback(void *ptr)
{
digitalWrite(HEATER_PIN_RELAY, POWER_OFF);
flagHeating = false;
pageIngredientes2.show();
}
template <>
void aREST::addToBuffer(bool toAdd, bool quotable) {
addStringToBuffer(toAdd ? "true" : "false", false); // Booleans aren't quoted in JSON
}
bt_rest.function("startManufacturing", (int(*)(std::string))&startManufacturing);