Skip to content
Snippets Groups Projects
Commit 43cc173f authored by Manon MALIQUE's avatar Manon MALIQUE
Browse files

Correcting bugs

parent 3b6a165c
No related branches found
No related tags found
No related merge requests found
......@@ -285,7 +285,7 @@ boolean SHT3x::getTemp( float *pval )
// 100.0 x _tmp = (17500 x _tmp) / (16384 x 4) - 4500
_tmp = ((4375 * _tmp) >> 14) - 4500;
*pval = ((float)_tmp / 100.0f);
calibrate(*pval, _a, _b); //Manon
calibrate(pval, _a, _b); //Manon
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment