mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-20 21:16:29 +00:00
Introduce a little consistency with regards to pin naming and usage.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
+4
-4
@@ -22,21 +22,21 @@ namespace EightBit
|
||||
|
||||
public event EventHandler<EventArgs> LoweredPOWER;
|
||||
|
||||
public bool Powered => this.POWER().Raised();
|
||||
public bool Powered => this.POWER.Raised();
|
||||
|
||||
public ref PinLevel POWER() => ref this.powerLine;
|
||||
public ref PinLevel POWER => ref this.powerLine;
|
||||
|
||||
public virtual void RaisePOWER()
|
||||
{
|
||||
this.OnRaisingPOWER();
|
||||
this.POWER().Raise();
|
||||
this.POWER.Raise();
|
||||
this.OnRaisedPOWER();
|
||||
}
|
||||
|
||||
public virtual void LowerPOWER()
|
||||
{
|
||||
this.OnLoweringPOWER();
|
||||
this.POWER().Lower();
|
||||
this.POWER.Lower();
|
||||
this.OnLoweredPOWER();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user