From fa444be4243b2e1f0f6ee22798ddbf0c85e54422 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Mon, 5 Jan 2015 22:32:34 +0200 Subject: Allow using 8/16/32/64 as values in int_size setting --- generator/proto/nanopb.proto | 8 ++++---- 1 file 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 -- cgit 1.2.3-korg