mirror of
https://github.com/gonzho000/chpc.git
synced 2025-03-09 00:17:19 +00:00
Add files via upload
This commit is contained in:
parent
9d9053cd09
commit
d24584dc48
1 changed files with 1 additions and 1 deletions
|
@ -913,13 +913,13 @@ double GetT (unsigned char *str) {
|
|||
#ifdef EEV_SUPPORT
|
||||
eevise();
|
||||
#endif
|
||||
tempdouble = s_allTsensors.getTempC(str);
|
||||
if ( (tempdouble == 85.0) || (tempdouble == -127.0) ) {
|
||||
if ( tempdouble == 85.0 ) { //initial value in dallas register after poweron
|
||||
delay (375); //375 actual for 11 bits resolution, 2-3 retries OK for 12-bits resolution
|
||||
} else {
|
||||
delay (37);
|
||||
}
|
||||
tempdouble = s_allTsensors.getTempC(str);
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue