Commit 4d3db482 authored by Robert Schmidt's avatar Robert Schmidt

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

This reverts commit ad16462e.
parent 84b36067
...@@ -181,11 +181,6 @@ typedef enum { ...@@ -181,11 +181,6 @@ 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.
*/ */
...@@ -197,7 +192,9 @@ typedef struct split7_config { ...@@ -197,7 +192,9 @@ 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 */
slot_format_t slots[160]; struct {
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