From: Petteri Aimonen Date: Mon, 5 Jan 2015 20:32:34 +0000 (+0200) Subject: Allow using 8/16/32/64 as values in int_size setting X-Git-Tag: 5.0.2~186^2~167 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=fa444be4243b2e1f0f6ee22798ddbf0c85e54422;p=apps%2Fagl-service-can-low-level.git Allow using 8/16/32/64 as values in int_size setting --- 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