Skip to content

Commit

Permalink
removed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ctacke committed May 31, 2024
1 parent 3dbbc1d commit 1ddb871
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/Meadow.Core/Hardware/BiDirectionalInterruptPort.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ OutputType outputType
if (_currentDirection == PortDirectionType.Input)
{
// This call will ultimately result in Nuttx being called
Resolver.Log.Info($"configure for interrupt: {interruptMode}");
this.IOController.ConfigureInput(this.Pin, this.Resistor, interruptMode, debounceDuration, glitchDuration);
}
else
Expand Down Expand Up @@ -254,9 +253,7 @@ public override bool State
get
{
Direction = PortDirectionType.Input;
Resolver.Log.Info($"Reading state...");
var value = IOController.GetDiscrete(this.Pin);
Resolver.Log.Info($"state: {value}");
return InverseLogic ? !value : value;
}
set
Expand Down Expand Up @@ -294,7 +291,6 @@ public override TimeSpan GlitchDuration

private void OnInterrupt(IPin pin, bool state)
{
Resolver.Log.Info($"interrupt!");
if (pin == this.Pin)
{
var capturedLastTime = LastEventTime; // note: doing this for latency reasons. kind of. sort of. bad time good time. all time.
Expand Down

0 comments on commit 1ddb871

Please sign in to comment.