aboutsummaryrefslogtreecommitdiff
path: root/proto/puzbusv1.proto
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-10 16:42:45 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-10 16:42:45 +0200
commit6102d19f5308e09da55aee211c3e7a03f0d7d6f7 (patch)
tree867acf3e29ccb130b42836fa8b88c78a0ee98e90 /proto/puzbusv1.proto
parent573643a1d3220830de47c810cb1a6be629ce7abd (diff)
protobuf (dropped)trash/protobuf
Diffstat (limited to 'proto/puzbusv1.proto')
-rw-r--r--proto/puzbusv1.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/puzbusv1.proto b/proto/puzbusv1.proto
index 6b4fa52..2358135 100644
--- a/proto/puzbusv1.proto
+++ b/proto/puzbusv1.proto
@@ -1,11 +1,11 @@
-syntax = "proto2";
+syntax = "proto3";
package puzbus;
message I2CMsg {
// 32-bit is the smallest integer format supported by protobuf, even though
// we only need 7-10 bits for the I2C address.
- required uint32 address = 1;
+ uint32 address = 1;
optional bytes data = 2;
}