Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
cc3c873
)
Allow using 8/16/32/64 as values in int_size setting
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Mon, 5 Jan 2015 20:32:34 +0000
(22:32 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Mon, 5 Jan 2015 20:32:34 +0000
(22:32 +0200)
generator/proto/nanopb.proto
patch
|
blob
|
history
diff --git
a/generator/proto/nanopb.proto
b/generator/proto/nanopb.proto
index
1bde596
..
e830ec2
100644
(file)
--- 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 = 3
2
;
+ IS_64 =
6
4;
}
// This is the inner options message, which basically defines options for