Matthieu Baerts 78b6b50194 Z1: tmp102: simple: fixed wrong cast
When using this code:

    (int8_t)tmp102_read_temp_x100() / 100

Only the first value is casted into a int8_t type.

tmp102_read_temp_x100() returns the temperature in Celcius * 100. Most of
the time this value will be lower than -2^7 and higher than 2^7 (+/- 1.27°C).

The cast is not needed but a comment about this implicit cast has been added.
2015-05-22 18:15:26 +02:00
..
2015-01-09 09:44:06 +01:00
2015-01-09 09:44:06 +01:00
2015-01-09 09:44:06 +01:00
2015-05-18 10:02:55 +02:00
2015-05-18 08:53:17 +02:00
2015-05-18 08:53:17 +02:00
2015-05-14 17:20:46 -04:00
2015-01-09 09:44:06 +01:00
2015-05-22 18:15:26 +02:00