From 6102d19f5308e09da55aee211c3e7a03f0d7d6f7 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 10 May 2024 16:42:45 +0200 Subject: protobuf (dropped) --- proto/puzbusv1.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto') 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; } -- cgit v1.2.3