Compare commits

..

No commits in common. "82d7ab5e6f9eb7cc648a975d26fe03774b61d568" and "f469f012f83e7987ec207242b679dd4a9275b27a" have entirely different histories.

2 changed files with 4 additions and 5 deletions

View file

@ -16,10 +16,10 @@ namespace Proculite.GpioRest.Controllers
[HttpGet("pin-value/{pinNumber}")]
public IActionResult PinValue(int pinNumber)
{
if (!ModelState.IsValid)
if(!ModelState.IsValid)
return BadRequest();
return Ok(_gpioService.CurrentPinValue(pinNumber).ToString());
return Ok(_gpioService.CurrentPinValue(pinNumber));
}
}
}

View file

@ -40,7 +40,6 @@ namespace Proculite.GpioRest.Services
}
_gpioController.OpenPin(pin, pinMode, PinValue.Low);
Thread.Sleep(200);
}
}