include nanopb to allow inline nanopb_opt calls
This commit is contained in:
parent
52df4c80ad
commit
1e5a738f75
3 changed files with 6 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "nanopb"]
|
||||
path = nanopb
|
||||
url = https://github.com/nanopb/nanopb.git
|
||||
1
nanopb
Submodule
1
nanopb
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 049485ff557178f646d573eca3bd647f543b760b
|
||||
|
|
@ -8,8 +8,10 @@ import "wippersnapper/pin/v1/pin.proto";
|
|||
import "wippersnapper/sensor/v1/sensor.proto";
|
||||
import "wippersnapper/pixel/v1/pixel.proto";
|
||||
|
||||
import "nanopb.proto";
|
||||
|
||||
message CreateSignalRequest {
|
||||
option (nanopb_msgopt).submsg_callback = true;
|
||||
oneof payload {
|
||||
// Create, update or remove a GPIO pin
|
||||
wippersnapper.pin.v1.ConfigurePinRequests pin_configs = 6;
|
||||
|
|
|
|||
Loading…
Reference in a new issue