Loading files
#if defined(UNIT_TEST)
#include "Hal/Gpio.hpp"
namespace Espfc::Hal {
void Gpio::digitalWrite(uint8_t pin, Gpio::PinStatus val)
{
// do nothing
}
Gpio::PinStatus Gpio::digitalRead(uint8_t pin)
{
// do nothing
return Gpio::Low;
}
void Gpio::pinMode(uint8_t pin, Gpio::PinMode mode)
{
// do nothing
return;
}
void Gpio::attachInterrupt(uint8_t pin, InterruptHandler handler, void* arg, InterruptMode mode) {}
void Gpio::detachInterrupt(uint8_t pin) {}
} // namespace Espfc::Hal
#endif
f4aa2738eThis file is pinned to the selected release. Download the original to open it in your design tool.