Home
last modified time | relevance | path

Searched refs:tmp_max_buf (Results 1 - 1 of 1) sorted by relevance

/third_party/backends/backend/
H A Dteco2.c1154 int *tmp_buf, *tmp_min_buf, *tmp_max_buf; /* hold the temporary calibration */ in teco_do_calibration() local
1230 tmp_max_buf = malloc (tmp_max_buf_size); in teco_do_calibration()
1237 memset (tmp_max_buf, 0x00, tmp_max_buf_size); in teco_do_calibration()
1244 memset (tmp_max_buf, 0x0000, tmp_max_buf_size); in teco_do_calibration()
1248 if ((tmp_buf == NULL) || (tmp_min_buf == NULL) || (tmp_max_buf == NULL)) in teco_do_calibration()
1320 if (tmp_max_buf[3 * j + 0] < ((dev->buffer[6 * j + 1] << 8) + dev->buffer[6 * j + 0])) in teco_do_calibration()
1322 tmp_max_buf[3 * j + 0] = (dev->buffer[6 * j + 1] << 8) + dev->buffer[6 * j + 0]; in teco_do_calibration()
1332 if (tmp_max_buf[3 * j + 1] < ((dev->buffer[6 * j + 3] << 8) + dev->buffer[6 * j + 2])) in teco_do_calibration()
1334 tmp_max_buf[3 * j + 1] = (dev->buffer[6 * j + 3] << 8) + dev->buffer[6 * j + 2]; in teco_do_calibration()
1344 if (tmp_max_buf[ in teco_do_calibration()
[all...]

Completed in 3 milliseconds