Commit ad16462e authored by Robert Schmidt's avatar Robert Schmidt

squash a1d59bde Do not define struct in place, gcc 9.4 does not seem to like this

parent a0370097
...@@ -181,6 +181,11 @@ typedef enum { ...@@ -181,6 +181,11 @@ typedef enum {
/*! \brief defines the direction of each symbol. Int values intentional and /*! \brief defines the direction of each symbol. Int values intentional and
* analogous to FAPI/FHI 7.2 */ * analogous to FAPI/FHI 7.2 */
typedef enum { SYMBOL_DIR_DL = 0, SYMBOL_DIR_UL = 1, SYMBOL_DIR_GU = 2 } symbol_direction_t; typedef enum { SYMBOL_DIR_DL = 0, SYMBOL_DIR_UL = 1, SYMBOL_DIR_GU = 2 } symbol_direction_t;
/*! \brief defines the direction of all symbols in one slot, hence defining the
* format of the entire slot */
typedef struct slot_format {
symbol_direction_t sym_dir[14];
} slot_format_t;
/*! \brief Contains information about PRACH and Frame structure, for /*! \brief Contains information about PRACH and Frame structure, for
* initialization of split 7 radios which reuses the interface of split 8. * initialization of split 7 radios which reuses the interface of split 8.
*/ */
...@@ -192,9 +197,7 @@ typedef struct split7_config { ...@@ -192,9 +197,7 @@ typedef struct split7_config {
/*! the TDD period length, if TDD indicated in parent struct */ /*! the TDD period length, if TDD indicated in parent struct */
int n_tdd_period; int n_tdd_period;
/*! TDD frame structure, if TDD indicated */ /*! TDD frame structure, if TDD indicated */
struct { slot_format_t slots[160];
symbol_direction_t sym_dir[14];
} slots[160];
} split7_config_t; } split7_config_t;
/*! \brief RF frontend parameters set by application */ /*! \brief RF frontend parameters set by application */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment