Skip to content

Commit

Permalink
Fixed type of outgoing update codes (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishamm committed Sep 25, 2024
1 parent 84ab888 commit 390faab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DuetControlServer/Utility/Firmware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ public static async Task UpdateFirmwareRemotely()
try
{
// Start the update process
Commands.Code updateCode = new()
Code updateCode = new()
{
Type = CodeType.MCode,
MajorNumber = 997,
Expand Down Expand Up @@ -575,7 +575,7 @@ public static async Task UpdateFirmwareRemotely()
Console.Write("Updating firmware on mainboard... ");
try
{
Commands.Code updateCode = new()
Code updateCode = new()
{
Type = CodeType.MCode,
MajorNumber = 997
Expand All @@ -595,7 +595,7 @@ public static async Task UpdateFirmwareRemotely()
Console.Write("Resetting mainboard... ");
try
{
Commands.Code updateCode = new()
Code updateCode = new()
{
Type = CodeType.MCode,
MajorNumber = 999
Expand Down

0 comments on commit 390faab

Please sign in to comment.