Skip to content

Commit 8d13653

Browse files
authored
Rename field for consistency (#154)
***NO_CI***
1 parent 2844ffb commit 8d13653

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

nanoFirmwareFlasher.Tool/Program.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal class Program
3030
private static AssemblyInformationalVersionAttribute _informationalVersionAttribute;
3131
private static string _headerInfo;
3232
private static CopyrightInfo _copyrightInfo;
33-
private static NanoDeviceOperations _nanoDebuggerOperations;
33+
private static NanoDeviceOperations _nanoDeviceOperations;
3434

3535
internal static string ExecutingPath;
3636

@@ -97,7 +97,7 @@ await parsedArguments
9797
}
9898

9999
// force clean-up
100-
_nanoDebuggerOperations?.Dispose();
100+
_nanoDeviceOperations?.Dispose();
101101

102102
return (int)_exitCode;
103103
}
@@ -304,11 +304,11 @@ static async Task RunOptionsAndReturnExitCodeAsync(Options o)
304304

305305
if (o.ListDevices)
306306
{
307-
_nanoDebuggerOperations = new NanoDeviceOperations();
307+
_nanoDeviceOperations = new NanoDeviceOperations();
308308

309309
try
310310
{
311-
var connectedDevices = _nanoDebuggerOperations.ListDevices();
311+
var connectedDevices = _nanoDeviceOperations.ListDevices();
312312

313313
if (connectedDevices.Count() == 0)
314314
{
@@ -350,13 +350,13 @@ static async Task RunOptionsAndReturnExitCodeAsync(Options o)
350350
return;
351351
}
352352

353-
_nanoDebuggerOperations = new NanoDeviceOperations();
353+
_nanoDeviceOperations = new NanoDeviceOperations();
354354

355355
if (o.DeviceDetails)
356356
{
357357
try
358358
{
359-
_exitCode = _nanoDebuggerOperations.GetDeviceDetails(o.SerialPort);
359+
_exitCode = _nanoDeviceOperations.GetDeviceDetails(o.SerialPort);
360360

361361
// done here
362362
return;
@@ -373,7 +373,7 @@ static async Task RunOptionsAndReturnExitCodeAsync(Options o)
373373
{
374374
try
375375
{
376-
_exitCode = await _nanoDebuggerOperations.UpdateDeviceClrAsync(
376+
_exitCode = await _nanoDeviceOperations.UpdateDeviceClrAsync(
377377
o.SerialPort,
378378
_verbosityLevel);
379379

@@ -402,7 +402,7 @@ static async Task RunOptionsAndReturnExitCodeAsync(Options o)
402402
{
403403
try
404404
{
405-
_exitCode = _nanoDebuggerOperations.DeployApplication(
405+
_exitCode = _nanoDeviceOperations.DeployApplication(
406406
o.SerialPort,
407407
o.DeploymentImage,
408408
_verbosityLevel);

0 commit comments

Comments
 (0)