Changeset 430871
- Timestamp:
- 01/24/12 17:40:55 (4 months ago)
- Branches:
- ('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
- Children:
- e69f7abba82ffdcb5f6bc755d4eb4f009cbfe0d1
- Parents:
- 6289a1138e14301ba99e1ffbd7cce53b99dfcf0d
- git-author:
- Stefan Persson <stefan.persson@telldus.se>2012-01-24 17:40:55+01:00
- git-committer:
- Stefan Persson <stefan.persson@telldus.se>2012-01-24 17:40:55+01:00
- File:
-
- 1 edited
-
telldus-core/tdtool/main.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
telldus-core/tdtool/main.cpp
r6289a1 r430871 8 8 #ifdef _WINDOWS 9 9 #define strcasecmp _stricmp 10 #define DEGREE " " 11 #else 12 #define DEGREE "°" 10 13 #endif 11 14 … … 143 146 if (dataTypes & TELLSTICK_TEMPERATURE) { 144 147 tdSensorValue(protocol, model, sensorId, TELLSTICK_TEMPERATURE, tempvalue, DATA_LENGTH, (int *)×tamp); 145 strcat(tempvalue, "°");148 strcat(tempvalue, DEGREE); 146 149 strftime(timeBuf, sizeof(timeBuf), "%Y-%m-%d %H:%M:%S", localtime(×tamp)); 147 150 }
Note: See TracChangeset
for help on using the changeset viewer.
