Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrawehr committed Aug 22, 2024
1 parent 5026563 commit 524d67e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
14 changes: 14 additions & 0 deletions src/Iot.Device.Bindings/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@
<Right>lib/net6.0/Iot.Device.Bindings.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>F:Iot.Device.Ssd13xx.Ssd13xx._i2cDevice</Target>
<Left>lib/net6.0/Iot.Device.Bindings.dll</Left>
<Right>lib/net6.0/Iot.Device.Bindings.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Iot.Device.Axp192.Axp192.SetGPIO0(Iot.Device.Axp192.Gpio0Behavior,System.Byte)</Target>
Expand Down Expand Up @@ -225,6 +232,13 @@
<Right>lib/netstandard2.0/Iot.Device.Bindings.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>F:Iot.Device.Ssd13xx.Ssd13xx._i2cDevice</Target>
<Left>lib/netstandard2.0/Iot.Device.Bindings.dll</Left>
<Right>lib/netstandard2.0/Iot.Device.Bindings.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Iot.Device.Axp192.Axp192.SetGPIO0(Iot.Device.Axp192.Gpio0Behavior,System.Byte)</Target>
Expand Down
3 changes: 2 additions & 1 deletion src/devices/Ssd13xx/Ssd1309.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ protected override void SetStartAddress()
}

/// <summary>
/// Reset device by cycling RST pin to LOW and resting at HIGH
/// Reset device by cycling RST pin to LOW and resting at HIGH.
/// This will not re-initialize the device.
/// </summary>
protected virtual void Reset()
{
Expand Down
4 changes: 2 additions & 2 deletions src/devices/Ssd13xx/Ssd13xx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ public abstract class Ssd13xx : GraphicDisplay
/// <summary>
/// Underlying I2C device
/// </summary>
internal I2cDevice? I2cDevice { get; set; }
protected I2cDevice? I2cDevice { get; set; }

/// <summary>
/// Underlying SPI device
/// </summary>
internal SpiDevice? SpiDevice { get; set; }
protected SpiDevice? SpiDevice { get; set; }

/// <summary>
/// Constructs instance of Ssd13xx using an I2C device
Expand Down

0 comments on commit 524d67e

Please sign in to comment.