From 3c34138bc53b134d67aaa973321690169b23c1e4 Mon Sep 17 00:00:00 2001 From: smorita_emb Date: Sun, 13 Feb 2022 15:14:20 +0900 Subject: [PATCH] Reduced MAX_NUM_PARTICIPANTS from 10 to 1 to save the RAM footprint. --- include/rtps/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rtps/config.h b/include/rtps/config.h index 69f37ac..cabda2e 100644 --- a/include/rtps/config.h +++ b/include/rtps/config.h @@ -42,7 +42,7 @@ namespace rtps { const uint8_t NUM_STATELESS_READERS = 2; const uint8_t NUM_STATEFUL_READERS = 8; const uint8_t NUM_STATEFUL_WRITERS = 8; - const uint8_t MAX_NUM_PARTICIPANTS = 10; + const uint8_t MAX_NUM_PARTICIPANTS = 1; const uint8_t NUM_WRITERS_PER_PARTICIPANT = 16; const uint8_t NUM_READERS_PER_PARTICIPANT = 16; const uint8_t NUM_WRITER_PROXIES_PER_READER = 3;