diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-01-05 22:32:34 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-01-05 22:32:34 +0200 |
commit | fa444be4243b2e1f0f6ee22798ddbf0c85e54422 (patch) | |
tree | 79408d59bee41c54bf62c0ed703416c020d5de38 /generator/proto/nanopb.proto | |
parent | cc3c8732fd3f8505f46802dd54bd4a21c79b72aa (diff) |
Allow using 8/16/32/64 as values in int_size setting
Diffstat (limited to 'generator/proto/nanopb.proto')
-rw-r--r-- | generator/proto/nanopb.proto | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto index 1bde5967..e830ec2c 100644 --- a/generator/proto/nanopb.proto +++ b/generator/proto/nanopb.proto @@ -20,10 +20,10 @@ enum FieldType { enum IntSize { IS_DEFAULT = 0; // Default, 32/64bit based on type in .proto - IS_8 = 1; - IS_16 = 2; - IS_32 = 3; - IS_64 = 4; + IS_8 = 8; + IS_16 = 16; + IS_32 = 32; + IS_64 = 64; } // This is the inner options message, which basically defines options for |