Commit a01ce3e4 authored by claes's avatar claes

Maxim DS18B20, minor modification

parent 3277b757
...@@ -118,6 +118,11 @@ static pwr_tStatus IoCardRead( io_tCtx ctx, ...@@ -118,6 +118,11 @@ static pwr_tStatus IoCardRead( io_tCtx ctx,
s = strstr( str, "t="); s = strstr( str, "t=");
if ( s) { if ( s) {
sscanf( s+2, "%d", &ivalue); sscanf( s+2, "%d", &ivalue);
if ( ivalue == 85000) {
/* TODO Check CRC Probably power loss...
op->Super.ErrorCount++; */
}
io_ConvertAi32( cop, ivalue, &actvalue); io_ConvertAi32( cop, ivalue, &actvalue);
// Filter // Filter
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment