Browse Source

fixup deprecated flags migration

mcspr-patch-1
Maxim Prokhorov 4 years ago
parent
commit
02cff4607d
1 changed files with 21 additions and 1 deletions
  1. +21
    -1
      code/espurna/config/deprecated.h

+ 21
- 1
code/espurna/config/deprecated.h View File

@ -119,7 +119,27 @@
#endif #endif
#endif #endif
// TODO: RF_... -> RFB_...
#ifdef RF_LEARN_TIMEOUT
#warning "RF_LEARN_TIMEOUT is deprecated! Please use RFB_LEARN_TIMEOUT"
#undef RFB_LEARN_TIMEOUT
#define RFB_LEARN_TIMEOUT RF_LEARN_TIMEOUT
#endif
#ifdef RF_SEND_TIMES
#warning "RF_SEND_TIMES is deprecated! Please use RFB_SEND_TIMES"
#undef RFB_SEND_TIMES
#define RFB_SEND_TIMES RF_SEND_TIMES
#endif
#ifdef RF_SEND_DELAY
#warning "RF_SEND_DELAY is deprecated! Please use RFB_SEND_DELAY"
#undef RFB_SEND_DELAY RF_SEND_DELAY
#endif
#ifdef RF_RECEIVE_DELAY
#warning "RF_RECEIVE_DELAY is deprecated! Please use RFB_RECEIVE_DELAY"
#undef RFB_RECEIVE_DELAY RF_RECEIVE_DELAY
#endif
#ifdef RF_SUPPORT #ifdef RF_SUPPORT
#warning "RF_SUPPORT is deprecated! Please use RFB_SUPPORT" #warning "RF_SUPPORT is deprecated! Please use RFB_SUPPORT"


Loading…
Cancel
Save