Skip to content

Commit b3de1d4

Browse files
committed
address review comments
1 parent 5fe68c3 commit b3de1d4

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

lib/drivers/roche/accuChekSmartPix.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import annotate from '../../eventAnnotations';
77
import common from '../../commonFunctions';
88
import { parseDtTm } from './smartpix/accuChekSmartPixCommonXML';
99
import parsePumpData from './smartpix/accuChekSmartPixPumpXML';
10-
import parseMeterData from './smartpix/accuCheckSmartPixMeterXML';
10+
import parseMeterData from './smartpix/accuChekSmartPixMeterXML';
1111

1212
const isBrowser = typeof window !== 'undefined';
1313

@@ -424,7 +424,6 @@ class AccuChekSmartPix {
424424

425425
/** Check that date of the export is close enough to current time. */
426426
async privateCheckTime(entry) {
427-
// XXX: This private field is accessed in checkDeviceTime.
428427
this.cfg.deviceInfo.deviceTime = sundial.formatDeviceTime(parseDtTm(entry));
429428
await new Promise((resolve, reject) => {
430429
common.checkDeviceTime(this.cfg, (err) => {

lib/drivers/roche/smartpix/accuCheckSmartPixMeterXML.js renamed to lib/drivers/roche/smartpix/accuChekSmartPixMeterXML.js

File renamed without changes.

lib/drivers/roche/smartpix/accuChekSmartPixPumpXML.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ function parseHeader(pumpInfo) {
8080
}
8181
});
8282
if (profileData.length > 0) {
83-
// TODO: Ensure starts are ordered?
8483
profiles[profile.$.Name] = profileData;
8584
}
8685
});

0 commit comments

Comments
 (0)