Skip to content

Commit 4356c36

Browse files
CopilotvanBassum
andcommitted
Fix parameter order in Example.cs for CreateReadFlashTool method
Co-authored-by: vanBassum <[email protected]>
1 parent c204693 commit 4356c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ESPTool/Example.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public async Task ReadFlashAsync(CancellationToken token = default)
4040
var softloader = await toolbox.StartSoftloaderAsync(communicator, loader, chipType);
4141
await toolbox.ChangeBaudAsync(communicator, softloader, 921600);
4242

43-
var readTool = toolbox.CreateReadFlashTool(softloader, communicator, chipType);
43+
var readTool = toolbox.CreateReadFlashTool(communicator, softloader, chipType);
4444
var progress = new Progress<float>(p => Debug.WriteLine($"Read progress: {p:P0}"));
4545

4646
// Option 1: Read directly to a file using a FileStream

0 commit comments

Comments
 (0)