convert #warning macro to pragma to avoid compile error

This commit is contained in:
Andre Puschmann 2020-04-18 12:14:23 +02:00
parent c145d80547
commit 0b756ac27d
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ const uint8_t dummy_sib1_payload[] = {0x43, 0x4d, 0xd0, 0x92, 0x22, 0x06, 0x04,
#include "srslte/phy/rf/rf.h"
srslte_rf_t rf;
#else
#warning Compiling npdsch_ue with no RF support
#pragma message "Compiling npdsch_ue with no RF support"
#endif
char* output_file_name = NULL;

View File

@ -60,7 +60,7 @@ cell_search_cfg_t cell_detect_config = {.max_frames_pbch = SRSLTE_DEFAULT_M
.force_tdd = false};
#else
#warning Compiling npdsch_ue with no RF support
#pragma message "Compiling npdsch_ue with no RF support"
#endif
#ifdef ENABLE_GUI