changeset 97:784c1f136e67

l1_drive.c: l1ddsp_meas_read() reconstructed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Thu, 07 Apr 2016 16:10:01 +0000
parents 065ebe468750
children c78de09b1a90
files chipsetsw/layer1/cfile/l1_drive.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_drive.c	Thu Apr 07 16:01:15 2016 +0000
+++ b/chipsetsw/layer1/cfile/l1_drive.c	Thu Apr 07 16:10:01 2016 +0000
@@ -935,13 +935,13 @@
 /* Return     :                                          */
 /* Functionality :                                       */
 /*-------------------------------------------------------*/
-void l1ddsp_meas_read(UWORD8 nbmeas, UWORD16 *pm)
+void l1ddsp_meas_read(UWORD8 nbmeas, UWORD8 *pm)
 {
   UWORD8 i;
 
   for (i= 0; i < nbmeas; i++)
   {
-    pm[i] = ((l1s_dsp_com.dsp_db_r_ptr->a_pm[i] & 0xffff));
+    pm[i] = ((l1s_dsp_com.dsp_db_r_ptr->a_pm[i] & 0xffff) >> 5);
   }
 
   #if TESTMODE