Programm to control a huge setup of sous vide cookers. See https://stratum0.org/wiki/S0us-vide for more information on this project.
Fork of rtos_basic by
extensionIF.cpp
00001 #include "extensionIF.h" 00002 00003 00004 00005 00006 EIF::EIF() { 00007 this->mutex.lock(); 00008 for(uint8_t i = 0; i < EIF_maxExt; i++) { 00009 this->extensions[i].present = false; 00010 for(uint8_t j = 0; j < EIF_maxPods; j++) { 00011 this->extensions[i].pods[j].present = false; 00012 this->extensions[i].pods[j].powered = false; 00013 this->extensions[i].pods[j].sensorfail = false; 00014 this->extensions[i].pods[j].temp1 = 0; 00015 this->extensions[i].pods[j].temp2 = 0; 00016 this->extensions[i].pods[j].setpoint = 0; 00017 this->extensions[i].pods[j].heaterDC = 0; 00018 } 00019 } 00020 00021 this->mutex.unlock(); 00022 }
Generated on Mon Jul 18 2022 22:14:51 by 1.7.2