Add support for RX/TX/ERR leds to RPi

This commit is contained in:
Marcelo Aquino
2016-09-26 17:40:18 -03:00
parent fab2112f9b
commit 6d47c33ad8
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -82,6 +82,11 @@
#define pgm_read_dword(x) (*x)
#define pgm_read_byte_near(x) (*x)
#include "core/MyHwLinuxGeneric.cpp"
// Ugly hack
#ifdef LINUX_ARCH_RASPBERRYPI
#undef hwDigitalWrite
#define hwDigitalWrite(__pin, __value) (digitalWrite(__pin, __value))
#endif
#endif
// LEDS