Added fixes to the SPI implementation, removed debugging

This commit is contained in:
Dario
2023-05-23 21:05:31 +01:00
parent 4eb1053ffd
commit 3cf2173433
2 changed files with 34 additions and 18 deletions

View File

@@ -15,14 +15,14 @@
namespace sta
{
enum class GpioMode {
GPIO_OUTPUT,
GPIO_INPUT
};
class RaspiGpioPin : public GpioPin
{
public:
enum class GpioMode {
GPIO_OUTPUT,
GPIO_INPUT
};
/**
* @param pin Pin index
* @param mode The mode of the GPIO pin. Either INPUT or OUTPUT