Add #defines for the maximum encoded message size.
Update issue 89 Status: FixedInGit
This commit is contained in:
@@ -115,7 +115,7 @@ int main(int argc, char **argv)
|
||||
alltypes.end = 1099;
|
||||
|
||||
{
|
||||
uint8_t buffer[1024];
|
||||
uint8_t buffer[AllTypes_size];
|
||||
pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
|
||||
|
||||
/* Now encode it and check if we succeeded. */
|
||||
|
||||
Reference in New Issue
Block a user