Skip to content

Commit

Permalink
By providing custom a custom define available pre-processor options c…
Browse files Browse the repository at this point in the history
…an be overriden.
  • Loading branch information
aentinger committed Feb 21, 2024
1 parent d90a374 commit 3ba44c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/RS485.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@
#endif
#endif

#ifdef CUSTOM_RS485_DEFAULT_DE_PIN
# define RS485_DEFAULT_DE_PIN CUSTOM_RS485_DEFAULT_DE_PIN
#endif

#ifdef CUSTOM_RS485_DEFAULT_RE_PIN
# define RS485_DEFAULT_RE_PIN CUSTOM_RS485_DEFAULT_RE_PIN
#endif

#define RS485_DEFAULT_PRE_DELAY 50
#define RS485_DEFAULT_POST_DELAY 50
Expand Down

0 comments on commit 3ba44c3

Please sign in to comment.