From d68debd1eac9d70370a2042449d50e0f282a9b50 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Wed, 20 Sep 2023 15:10:52 +0200
Subject: [PATCH] Add nof_destinations_max register field.

---
 applications/lofar2/libraries/sdp/sdp.peripheral.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/applications/lofar2/libraries/sdp/sdp.peripheral.yaml b/applications/lofar2/libraries/sdp/sdp.peripheral.yaml
index 4be6a8fa76..17b64c399c 100644
--- a/applications/lofar2/libraries/sdp/sdp.peripheral.yaml
+++ b/applications/lofar2/libraries/sdp/sdp.peripheral.yaml
@@ -214,7 +214,8 @@ peripherals:
           - - { field_name: udp_destination_port,   number_of_fields: N_destinations_max, mm_width: 16,                                access_mode: RW, address_offset: 0xC0 }
           - - { field_name: nof_destinations,          mm_width: 8, access_mode: RW, address_offset: 0x100 }
           - - { field_name: nof_destinations_act,      mm_width: 8, access_mode: RO, address_offset: 0x104 }
-          - - { field_name: nof_blocks_per_packet_act, mm_width: 8, access_mode: RO, address_offset: 0x108 }
+          - - { field_name: nof_destinations_max,      mm_width: 8, access_mode: RO, address_offset: 0x108 }
+          - - { field_name: nof_blocks_per_packet_act, mm_width: 8, access_mode: RO, address_offset: 0x10C }
 
 
   - peripheral_name: sdp_beamformer_output_hdr_dat  #  pi_dp_offload_tx_hdr_dat_lofar2_beamformer_output.py
-- 
GitLab