PH test
Fork of LinearAnalogSensors by
Revision 2:989048937c77, committed 2012-12-23
- Comitter:
- PennElectric
- Date:
- Sun Dec 23 07:32:24 2012 +0000
- Parent:
- 1:7ce89c2ecf05
- Child:
- 3:c749fbcf2acb
- Commit message:
- Fixed operator shorthand
Changed in this revision
LinearTemp.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/LinearTemp.h Sun Dec 23 07:29:42 2012 +0000 +++ b/LinearTemp.h Sun Dec 23 07:32:24 2012 +0000 @@ -72,7 +72,7 @@ #ifdef MBED_OPERATORS /** An operator shorthand for readTemp() to calculate filtered temperature */ - operator int() { + operator float() { return readTemp(); } #endif