Commit 17dfdfa7 authored by Pedro Henrique Kopper's avatar Pedro Henrique Kopper

Add max_count on repeated fields

parent cb754fd9
......@@ -12,7 +12,7 @@ message ChannelReading {
}
message MultiChannelReading {
repeated ChannelReading channels = 1;
repeated ChannelReading channels = 1 [(nanopb).max_count = 16];
}
message ChannelMetadata {
......@@ -28,5 +28,5 @@ message ReqChannelReading {
}
message ReqMultiChannelReading {
repeated uint32 id = 1;
repeated uint32 id = 1 [(nanopb).max_count = 16];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment