Skip to content

Commit

Permalink
Fix missing newlines in serial write output
Browse files Browse the repository at this point in the history
  • Loading branch information
benlye committed Jul 5, 2020
1 parent 1f6f856 commit f89f3af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/flash-multi/Devices/SerialDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public static async Task WriteFlash(FlashMulti flashMulti, string fileName, stri
return;
}

flashMulti.AppendLog($" {Strings.done}");
flashMulti.AppendLog($" {Strings.done}\r\n");

// Write the bootloader if required
if (writeBootloader)
Expand All @@ -340,7 +340,7 @@ public static async Task WriteFlash(FlashMulti flashMulti, string fileName, stri
return;
}

flashMulti.AppendLog($" {Strings.done}");
flashMulti.AppendLog($" {Strings.done}\r\n");
}

// Increment the step counter and write to the log
Expand Down Expand Up @@ -374,7 +374,7 @@ public static async Task WriteFlash(FlashMulti flashMulti, string fileName, stri
}

// Write a success message to the log
flashMulti.AppendLog($" {Strings.done}");
flashMulti.AppendLog($" {Strings.done}\r\n");
flashMulti.AppendLog($"\r\n{Strings.succeededWritingFirmware}");

// Show a success message box
Expand Down
4 changes: 2 additions & 2 deletions src/flash-multi/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.4.0")]
[assembly: AssemblyFileVersion("0.4.0")]
[assembly: AssemblyVersion("0.4.1")]
[assembly: AssemblyFileVersion("0.4.1")]

0 comments on commit f89f3af

Please sign in to comment.