Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
812 B

  1. #pragma once
  2. // 1.13.3 added TELNET_PASSWORD build-only flag
  3. // 1.13.4 replaces it with TELNET_AUTHENTICATION runtime setting default
  4. // TODO warning should be removed eventually
  5. #ifdef TELNET_PASSWORD
  6. #warning TELNET_PASSWORD is deprecated! Please replace it with TELNET_AUTHENTICATION
  7. #define TELNET_AUTHENTICATION TELNET_PASSWORD
  8. #endif
  9. // 1.13.6 combines RF_SUPPORT with RFB_DIRECT
  10. #ifdef RF_PIN
  11. #warning RF_PIN is deprecated! Please use RFB_RX_PIN instead
  12. #define RFB_RX_PIN RF_PIN
  13. #endif
  14. // 1.13.6 allow multiple digitals
  15. #ifdef DIGITAL_PIN
  16. #warning DIGITAL_PIN is deprecated! Please use DIGITAL1_PIN instead
  17. #define DIGITAL1_PIN DIGITAL_PIN
  18. #endif
  19. // 1.13.6 allow multiple events
  20. #ifdef EVENTS_PIN
  21. #warning EVENTS_PIN is deprecated! Please use EVENTS1_PIN instead
  22. #define EVENTS1_PIN EVENTS_PIN
  23. #endif