Skip to content

Commit

Permalink
Merge pull request #339 from WildernessLabs/v2
Browse files Browse the repository at this point in the history
First pass at v2
  • Loading branch information
ctacke authored Sep 27, 2023
2 parents fef23e3 + 6f20a72 commit 126d446
Show file tree
Hide file tree
Showing 152 changed files with 10,031 additions and 398 deletions.
8 changes: 4 additions & 4 deletions Meadow.CLI.Core/Devices/MeadowLocalDevice.Comms.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ namespace Meadow.CLI.Core.Devices
public partial class MeadowLocalDevice
{
private const int PROGESS_INCREMENTS = 5;
uint _packetCrc32;
private uint _packetCrc32;
private readonly SemaphoreSlim _comPortSemaphore = new SemaphoreSlim(1, 1);
bool reUploadSkippedFiles = false;
byte reUploadCounter = 0;
private bool reUploadSkippedFiles = false;
private byte reUploadCounter = 0;

public async Task SendTheEntireFile(FileCommand command,
bool lastInSeries,
Expand Down Expand Up @@ -173,7 +173,7 @@ private void WriteProgress(decimal i)

if (intProgress > nextProgress)
{
if (!InMeadowCLI) // In separate call as used for progress delimiter
if (!InMeadowCLI || Debugger.IsAttached) // In separate call as used for progress delimiter
{
Logger?.LogInformation("=");
}
Expand Down
Loading

0 comments on commit 126d446

Please sign in to comment.