From 9cb70fde3dc4507c9ad9d9d87c85766aa812923c Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Sun, 17 Oct 2021 01:56:40 +0200 Subject: [PATCH] meas: Add Slot Counts to the bts defs --- modules/rhizo_base/templates/bts_defs.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rhizo_base/templates/bts_defs.js.erb b/modules/rhizo_base/templates/bts_defs.js.erb index 3e22bd5..03ccf57 100644 --- a/modules/rhizo_base/templates/bts_defs.js.erb +++ b/modules/rhizo_base/templates/bts_defs.js.erb @@ -2,7 +2,7 @@ const bts_defs = [ // Index, TRX, Name, ARFCN, BSIC <% @bts.each_with_index do |bts, index| -%> <% bts["trx"].each_with_index do |trx, trx_i| -%> - [<%= index %>, <%= trx_i %>, "<%= bts["name"] %>", <%= trx["chan"]%>, <%= bts["bsic"]%>], + [<%= index %>, <%= trx_i %>, "<%= bts["name"] %>", <%= trx["chan"]%>, <%= bts["bsic"]%>, <%=(bts["sdcch"]==nil) ? '8' : bts["sdcch"]%>, <%=(bts["tch"]==nil) ? '12' : bts["tch"]%>], <% end -%> <% end -%> ]