Rev 587 | Rev 593 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 587 | Rev 592 | ||
---|---|---|---|
Line 179... | Line 179... | ||
179 | switch(NCMAG_SensorType) |
179 | switch(NCMAG_SensorType) |
180 | { |
180 | { |
181 | case TYPE_HMC5843: sprintf(string, "HMC"); break; |
181 | case TYPE_HMC5843: sprintf(string, "HMC"); break; |
182 | case TYPE_LSM303DLH: sprintf(string, "DLH"); break; |
182 | case TYPE_LSM303DLH: sprintf(string, "DLH"); break; |
183 | case TYPE_LSM303DLM: sprintf(string, "DLM"); break; |
183 | case TYPE_LSM303DLM: sprintf(string, "DLM"); break; |
- | 184 | case TYPE_LSM303D: sprintf(string, "D"); break; |
|
184 | default: sprintf(string, "? %d",NCMAG_SensorType); break; |
185 | default: sprintf(string, "? %d",NCMAG_SensorType); break; |
185 | } |
186 | } |
186 | fputs_(string, doc->file); |
187 | fputs_(string, doc->file); |
187 | sprintf(string, "</MagSensor>\r\n");fputs_(string, doc->file); |
188 | sprintf(string, "</MagSensor>\r\n");fputs_(string, doc->file); |
188 | //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
189 | //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |