Skip to content

Commit

Permalink
B6.0 build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstevens committed Nov 7, 2021
1 parent 88e4550 commit 5f13220
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Source/Meadow.Foundation.Core/Color.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ public static Color FromRgb(byte r, byte g, byte b)
return FromRgba(r, g, b, 255);
}

/*
public static Color FromRgba(double r, double g, double b, double a)
{
return new Color((byte)(r*255), (byte)(g * 255), (byte)(b * 255), (byte)(a * 255));
Expand All @@ -308,7 +307,6 @@ public static Color FromRgb(double r, double g, double b)
{
return FromRgba(r, g, b, 1f);
}
*/

public static Color FromHsba(double h, double s, double b, double a = 1.0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<ItemGroup>
<None Include="..\..\Source\icon.png" Pack="true" PackagePath="" />
<ProjectReference Include="..\..\..\Meadow.Core\source\Meadow.Core\Meadow.Core.csproj" />
<ProjectReference Include="..\..\..\Meadow.Core\source\Meadow.Contracts\Meadow.Contracts.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Displays\" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,5 +254,10 @@ public void WriteRegister(byte address, Span<byte> writeBuffer, ByteOrder order
{
throw new NotImplementedException();
}

public void Exchange(Span<byte> writeBuffer, Span<byte> readBuffer, DuplexType duplex)
{
throw new NotImplementedException();
}
}
}

0 comments on commit 5f13220

Please sign in to comment.