NA_TEMP
envstat->l1[i] = NA_TEMP;
envstat->l2[i] = NA_TEMP;
envstat->l3[i] = NA_TEMP;
envstat->l4[i] = NA_TEMP;
envstat->l5[i] = NA_TEMP;
envstat->max = NA_TEMP;
envstat->min = NA_TEMP;
envstat->override = NA_TEMP;
if (envstat->l4[i] != NA_TEMP) {
envstat->l5[tmp_index] = NA_TEMP;
if (envstat->l3[i] != NA_TEMP) {
envstat->l4[tmp_index] = NA_TEMP;
if (envstat->l2[i] != NA_TEMP) {
envstat->l3[tmp_index] = NA_TEMP;
if (envstat->l1[i] != NA_TEMP) {
envstat->l2[tmp_index] = NA_TEMP;
if (envstat->override != NA_TEMP) {
if ((envstat->max == NA_TEMP) || (real_temp > envstat->max)) {
if ((envstat->min == NA_TEMP) || (real_temp < envstat->min)) {
if (tempstat->l2[prev_index] == NA_TEMP)
if ((tempstat->l1[i] != NA_TEMP) &&
if ((tempstat->l1[i] != NA_TEMP) &&
if ((tempstat->l2[i] != NA_TEMP) &&
if ((tempstat->l2[i] != NA_TEMP) &&
if ((tempstat->l3[i] != NA_TEMP) &&
if ((tempstat->l3[i] != NA_TEMP) &&
if ((tempstat->l4[i] != NA_TEMP) &&
if ((tempstat->l4[i] != NA_TEMP) &&
if ((tempstat->l5[i] != NA_TEMP) &&
if ((tempstat->l5[i] != NA_TEMP) &&
short result = NA_TEMP;