From aab408724839023e46315496c4f9263b9794cfd5 Mon Sep 17 00:00:00 2001
From: stedif <stefano.difrischia@inaf.it>
Date: Tue, 25 Jan 2022 16:54:50 +0100
Subject: [PATCH] L2SS-480: fix RCU mask array dimension

---
 tangostationcontrol/tangostationcontrol/devices/beam.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tangostationcontrol/tangostationcontrol/devices/beam.py b/tangostationcontrol/tangostationcontrol/devices/beam.py
index 347ddec43..b27e21c8a 100644
--- a/tangostationcontrol/tangostationcontrol/devices/beam.py
+++ b/tangostationcontrol/tangostationcontrol/devices/beam.py
@@ -130,7 +130,7 @@ class Beam(lofar_device):
         # Record where we now point to, now that we've updated the weights.
         # Only the entries within the mask have been updated
         mask = self.recv_proxy.RCU_mask_RW
-        for tile in range(96):
+        for tile in range(32):
             if mask[tile]:
                 self._hbat_pointing_direction[tile] = pointing_direction[tile]
                 self._hbat_pointing_timestamp[tile] = timestamp
-- 
GitLab