Skip to content

Commit bd5a6ce

Browse files
authored
Merge pull request #58 from sparkfun/develop
minor comment cleanup
2 parents 7b94d42 + 0391d6c commit bd5a6ce

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

fuse_id/sfe_dl_fuseid/dl_fuseid.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def dl_fuseid():
365365
#-----------------------------------------------------------------------------
366366
# _dl_add_board_parameter()
367367
#
368-
# Internal routine that addes the specified board arg to sys.argv.
368+
# Internal routine that adds the specified board arg to sys.argv.
369369
#
370370
# If a board arg is already present, it overrides the arg
371371

@@ -374,12 +374,12 @@ def _dl_add_board_parameter(board_type):
374374
# does a board parameter already exist in argv?
375375
iBoard = [i for i,x in enumerate(sys.argv) if x == '-b' or x == '--board']
376376

377-
# was a swtich provided?
377+
# was a switch provided?
378378
if len(iBoard) == 0:
379379
sys.argv.append('-b')
380380
sys.argv.append(board_type)
381381
else:
382-
# swtich provided .. check value - if switch is at end of list, that's an issue
382+
# switch provided .. check value - if switch is at end of list, that's an issue
383383
if len(sys.argv)-1 == iBoard[0]:
384384
sys.argv.append(board_type)
385385
else:

fuse_id/sfe_dl_fuseid/dl_prefs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#------------------------------------------------------------------
3131
# The plan:
32-
# Intialize our defaults and then see if we can load the user prefs
32+
# Initialize our defaults and then see if we can load the user prefs
3333
#------------------------------------------------------------------
3434

3535

@@ -86,7 +86,7 @@
8686

8787

8888

89-
# assume our parent dir is our pacakge name.
89+
# assume our parent dir is our package name.
9090
if __name__.find('.') > 0:
9191
dlPrefs['package_name'] = __name__.split('.')[-2]
9292
else:

sfeDataLoggerIoT/sfeDataLogger.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ sfeDataLogger::sfeDataLogger()
159159
_logger.addProperty(logSysInfo);
160160

161161
// Update timer object string
162-
_timer.setName("Logging Timer", "Set the internal between log entries");
162+
_timer.setName("Logging Timer", "Set the interval between log entries");
163163

164164
// set sleep default interval && event handler method
165165
sleepInterval = kSystemSleepSleepSec;
@@ -307,7 +307,7 @@ bool sfeDataLogger::onSetup()
307307
// Version info
308308
setVersion(kDLVersionNumberMajor, kDLVersionNumberMinor, kDLVersionNumberPoint, kDLVersionDescriptor, BUILD_NUMBER);
309309

310-
// set the settings storage system for spark
310+
// set the settings storage system for the framework
311311
flxSettings.setStorage(&_sysStorage);
312312
flxSettings.setFallback(&_jsonStorage);
313313

@@ -320,7 +320,7 @@ bool sfeDataLogger::onSetup()
320320
flxRegisterEventCB(flxEvent::kOnEditFinished, &flxSettings, &flxSettingsSave::saveEvent_CB);
321321
flxRegisterEventCB(flxEvent::kOnNewFile, &flxSettings, &flxSettingsSave::saveEvent_CB);
322322

323-
// Add serial settings to spark - the spark loop call will take care
323+
// Add serial settings to flux - the flux loop call will take care
324324
// of everything else.
325325
flux.add(_serialSettings);
326326

@@ -708,7 +708,7 @@ bool sfeDataLogger::onStart()
708708
setupNFDevice();
709709

710710
// check our I2C devices
711-
// Loop over the device list - note that it is iteratiable.
711+
// Loop over the device list - note that it is iterable.
712712
flxLog_I_(F("Loading devices ... "));
713713
flxDeviceContainer loadedDevices = flux.connectedDevices();
714714

0 commit comments

Comments
 (0)