mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-15 03:10:53 +01:00
Allow the non-existence of the HOYMILES_PIN_ defines
This commit is contained in:
@@ -38,6 +38,30 @@
|
|||||||
#define LED1 -1
|
#define LED1 -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HOYMILES_PIN_SCLK
|
||||||
|
#define HOYMILES_PIN_SCLK -1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HOYMILES_PIN_CS
|
||||||
|
#define HOYMILES_PIN_CS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HOYMILES_PIN_CE
|
||||||
|
#define HOYMILES_PIN_CE -1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HOYMILES_PIN_IRQ
|
||||||
|
#define HOYMILES_PIN_IRQ -1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HOYMILES_PIN_MISO
|
||||||
|
#define HOYMILES_PIN_MISO -1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HOYMILES_PIN_MOSI
|
||||||
|
#define HOYMILES_PIN_MOSI -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CMT_CLK
|
#ifndef CMT_CLK
|
||||||
#define CMT_CLK -1
|
#define CMT_CLK -1
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user