Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjheaff1 <jheaff1@outlook.com>2023-08-17 13:18:59 +0300
committerPetteri Aimonen <jpa@github.mail.kapsi.fi>2023-09-08 15:11:23 +0300
commitf5f65a90c8057a591f3cc98de40874bd78c9880d (patch)
treefd5f0ff766cb47c9aac8f16df01e509fd7348264 /tests
parent9c11463770beab0c6f244999e66676f9bca866fd (diff)
Provide the maximum message size
Diffstat (limited to 'tests')
-rw-r--r--tests/message_sizes/dummy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/message_sizes/dummy.c b/tests/message_sizes/dummy.c
index 767ad46..560fd09 100644
--- a/tests/message_sizes/dummy.c
+++ b/tests/message_sizes/dummy.c
@@ -4,6 +4,7 @@
int main()
{
+ PB_STATIC_ASSERT(MESSAGES2_PB_H_MAX_SIZE == xmit_size, INCORRECT_MAX_SIZE);
return xmit_size;
}