From 61e04a8edea40f5da6b608af1843e395bf90d03e Mon Sep 17 00:00:00 2001 From: Rene Hopf Date: Thu, 3 Aug 2017 18:09:15 +0200 Subject: [PATCH] fix tle padding --- stm32f303/src/comps/tle.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stm32f303/src/comps/tle.c b/stm32f303/src/comps/tle.c index 0d87fb94..1b6c6b62 100644 --- a/stm32f303/src/comps/tle.c +++ b/stm32f303/src/comps/tle.c @@ -79,12 +79,12 @@ typedef union{ typedef union{ struct { - uint8_t fir_md :2;//Filter Decimation Setting (Update Rate Setting) - uint8_t res :9;//Reserved - uint8_t clk_sel :1;//Clock Source Select - uint8_t ssc_od :1;//SSC Interface 0: Push-pull 1: Open drain - uint8_t dsp_hold :1;//Hold DSPU Operation - uint8_t iif_mod :2;//Incremental Interface Mode + uint8_t fir_md :2;//Filter Decimation Setting (Update Rate Setting) + uint16_t res :9;//Reserved + uint8_t clk_sel :1;//Clock Source Select + uint8_t ssc_od :1;//SSC Interface 0: Push-pull 1: Open drain + uint8_t dsp_hold :1;//Hold DSPU Operation + uint8_t iif_mod :2;//Incremental Interface Mode }; uint16_t word; } tle_reg_mod1_t;