Skip to content

Commit

Permalink
Merge branch 'develop' into bug/illink-zero
Browse files Browse the repository at this point in the history
# Conflicts:
#	Source/Meadow.Units/AngularVelocity.cs
#	Source/Meadow.Units/Power.cs
#	Source/Meadow.Units/Resistance.cs
#	Source/Meadow.Units/Voltage.cs
  • Loading branch information
ctacke committed Jan 20, 2024
2 parents 3710928 + 8df2166 commit 8f55556
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions Source/Meadow.Units/Angle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ public struct Angle :
IComparable, IFormattable, IConvertible,
IEquatable<double>, IComparable<double>
{
private static Angle? _zero;

/// <summary>
/// Gets an angle of 0 degrees
/// </summary>
public static Angle Zero => _zero ?? (_zero = new Angle(0, UnitType.Degrees)).Value;

/// <summary>
/// Creates a new `Angle` object.
/// </summary>
Expand Down
7 changes: 0 additions & 7 deletions Source/Meadow.Units/Length.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ public struct Length :
IComparable, IFormattable, IConvertible,
IEquatable<double>, IComparable<double>
{
private static Length? _zero;

/// <summary>
/// Gets a Length of 0
/// </summary>
public static Length Zero => _zero ?? (_zero = new Length(0, UnitType.Meters)).Value;

/// <summary>
/// Creates a new `Length` object.
/// </summary>
Expand Down

0 comments on commit 8f55556

Please sign in to comment.