Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First pass at v2 #339

Merged
merged 26 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading