Skip to content

Commit c45a822

Browse files
Joao Victor Santosjoao-victor-s
authored andcommitted
Identify the RTM-LAMP temperature sensors
Update the IDstring and IDtypelen fields of the SDR structures for the LM75 temperature sensors of the RTM-LAMP to indicate what part of the card it is measuring.
1 parent 001e99e commit c45a822

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

port/board/rtm-lamp/sdr_list.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ const SDR_type_01h_t SDR_LM75_RTM_1 = {
117117
.reserved1 = 0x00, /* reserved */
118118
.reserved2 = 0x00, /* reserved */
119119
.OEM = 0x00, /* OEM reserved */
120-
.IDtypelen = 0xc0 | STR_SIZE("TEMP RTM1"), /* 8 bit ASCII, number of bytes */
121-
.IDstring = "TEMP RTM1" /* sensor string */
120+
.IDtypelen = 0xc0 | STR_SIZE("Air in"), /* 8 bit ASCII, number of bytes */
121+
.IDstring = "Air in" /* sensor string */
122122
};
123123

124124
const SDR_type_01h_t SDR_LM75_RTM_2 = {
@@ -171,8 +171,8 @@ const SDR_type_01h_t SDR_LM75_RTM_2 = {
171171
.reserved1 = 0x00, /* reserved */
172172
.reserved2 = 0x00, /* reserved */
173173
.OEM = 0x00, /* OEM reserved */
174-
.IDtypelen = 0xc0 | STR_SIZE("TEMP RTM2"), /* 8 bit ASCII, number of bytes */
175-
.IDstring = "TEMP RTM2" /* sensor string */
174+
.IDtypelen = 0xc0 | STR_SIZE("Air out"), /* 8 bit ASCII, number of bytes */
175+
.IDstring = "Air out" /* sensor string */
176176
};
177177

178178
const SDR_type_01h_t SDR_LM75_RTM_3 = {
@@ -225,8 +225,8 @@ const SDR_type_01h_t SDR_LM75_RTM_3 = {
225225
.reserved1 = 0x00, /* reserved */
226226
.reserved2 = 0x00, /* reserved */
227227
.OEM = 0x00, /* OEM reserved */
228-
.IDtypelen = 0xc0 | STR_SIZE("TEMP RTM3"), /* 8 bit ASCII, number of bytes */
229-
.IDstring = "TEMP RTM3" /* sensor string */
228+
.IDtypelen = 0xc0 | STR_SIZE("PS Block"), /* 8 bit ASCII, number of bytes */
229+
.IDstring = "PS Block" /* sensor string */
230230
};
231231
#endif
232232

0 commit comments

Comments
 (0)