From 245c6fc6ce6a47bc14a4518975461c903b7ae1d7 Mon Sep 17 00:00:00 2001 From: Steve Underwood Date: Mon, 15 Oct 2012 23:29:33 +0800 Subject: [PATCH] spandsp should now compile in fixed point mode, although the performance of the modems will still suck on a fixed point machine. --- libs/spandsp/src/spandsp/private/v17rx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/spandsp/src/spandsp/private/v17rx.h b/libs/spandsp/src/spandsp/private/v17rx.h index f25007e9ea..9f22208e80 100644 --- a/libs/spandsp/src/spandsp/private/v17rx.h +++ b/libs/spandsp/src/spandsp/private/v17rx.h @@ -71,7 +71,7 @@ struct v17_rx_state_s routine. */ void *qam_user_data; -#if defined(SPANDSP_USE_FIXED_POINT) +#if defined(SPANDSP_USE_FIXED_POINTx) /*! \brief The scaling factor assessed by the AGC algorithm. */ int16_t agc_scaling; /*! \brief The previous value of agc_scaling, needed to reuse old training. */ @@ -218,7 +218,7 @@ struct v17_rx_state_s int full_path_to_past_state_locations[V17_TRELLIS_STORAGE_DEPTH][8]; /*! \brief The trellis. */ int past_state_locations[V17_TRELLIS_STORAGE_DEPTH][8]; -#if defined(SPANDSP_USE_FIXED_POINT) +#if defined(SPANDSP_USE_FIXED_POINTx) /*! \brief Euclidean distances (actually the squares of the distances) from the last states of the trellis. */ uint32_t distances[8];