Commit e5e4b21d authored by Raymond Knopp's avatar Raymond Knopp

Merge branch 'l1-sidelink' of https://gitlab.eurecom.fr/matzakos/LTE-D2D into l1-sidelink

parents 40338296 226e7fb3
...@@ -60,6 +60,7 @@ int initial_syncSL(PHY_VARS_UE *ue) { ...@@ -60,6 +60,7 @@ int initial_syncSL(PHY_VARS_UE *ue) {
if (rx_psbch(ue) == -1) { if (rx_psbch(ue) == -1) {
ue->slbch_errors++; ue->slbch_errors++;
write_output("rxsig0.m","rxs0",&ue->common_vars.rxdata_syncSL[0][0],40*ue->frame_parms.samples_per_tti,1,1); write_output("rxsig0.m","rxs0",&ue->common_vars.rxdata_syncSL[0][0],40*ue->frame_parms.samples_per_tti,1,1);
write_output("corr0.m","rxsync0",sync_corr_ue0,40*ue->frame_parms.samples_per_tti,1,2); write_output("corr0.m","rxsync0",sync_corr_ue0,40*ue->frame_parms.samples_per_tti,1,2);
write_output("corr1.m","rxsync1",sync_corr_ue1,40*ue->frame_parms.samples_per_tti,1,2); write_output("corr1.m","rxsync1",sync_corr_ue1,40*ue->frame_parms.samples_per_tti,1,2);
......
...@@ -29,6 +29,6 @@ ...@@ -29,6 +29,6 @@
#ifndef DB_ROUTINES_H_ #ifndef DB_ROUTINES_H_
#define DB_ROUTINES_H_ #define DB_ROUTINES_H_
int16_t dB_fixed_times10(uint32_t x); uint16_t dB_fixed_times10(uint32_t x);
#endif /* DB_ROUTINES_H_ */ #endif /* DB_ROUTINES_H_ */
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